Skip to main content

Update Node

Update an existing node.

Endpoint: PUT /api/v1/integration/nodes/{id}

Authentication: Required (Bearer token)

Required Headers:

Authorization: Bearer <access_token>
X-Target-Server: integration

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesNode ID

Request Body

All fields are optional:

{
"name": "Updated Node Name",
"type": 2,
"parent_id": "550e8400-e29b-41d4-a716-446655440002"
}

Request Parameters

FieldTypeRequiredDescription
namestringNoNode name (1-255 characters)
typeintegerNoNode type: 1=Apex, 2=Account, 3=SubAccount
parent_idstring (UUID)NoNew parent node ID

Response

Status: 200 OK

Returns the updated node object.

{
"id": "550e8400-e29b-41d4-a716-446655440001",
"parent_id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Updated Node Name",
"type": 2,
"path": "1.2.4",
"int_id": 3,
"created_at": "2025-01-03T10:00:00Z",
"updated_at": "2025-01-03T11:00:00Z"
}

Example cURL Request

curl -X PUT https://<base-url>/api/v1/integration/nodes/550e8400-e29b-41d4-a716-446655440001 \
-H "Authorization: Bearer <access_token>" \
-H "X-Target-Server: integration" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Node Name",
"type": 2
}'