Update Node
Updates an existing node in the system.
Request
PUT /v2/admin/node/{node_id}
Path Parameters
| Name | Type | In | Description |
|---|---|---|---|
node_id | string | path | Required. The ID of the node to update |
Form Parameters
| Name | Type | In | Description |
|---|---|---|---|
name | string | form | Optional. The new name of the node |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Content-Type | Required. 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 Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Node ID does not exist |
| 500 | Internal Server Error |