Skip to main content

Update Node

Updates an existing node in the system.

Request

PUT /v2/admin/node/{node_id}

Path Parameters

NameTypeInDescription
node_idstringpathRequired. The ID of the node to update

Form Parameters

NameTypeInDescription
namestringformOptional. The new name of the node

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication
Content-TypeRequired. Must be multipart/form-data

Example

curl --request PUT \
--url '\{\{baseUrl\}\}/v2/admin/node/67d1887219270f00501b8d3f' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Updated Name'

Response

Success response with updated node information.

Status Codes

Status CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Node ID does not exist
500Internal Server Error