HTTP - Management
Removed from your favourites
Move a node
Created by Contensis product team, last modified by r.bromley on 20 Jul 2021
Moves a node.
This is a special case of updating a node. By changing the parent id of a node and updating the node and all of its children will be moved so that they are now descendants of the parent node, with the same hierarchical structure.
PUT/api/management/projects/{projectId}/nodes/{nodeId}
Parameters
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
nodeId | path | string | uuid | The node identifier as a 128 bit GUID | true | |
node | body | object | node | The node object to update | true |
Example
Change the parent id to move the node
PUT: /api/management/projects/website/nodes/d6bdea41-729c-4a07-85bf-a392aa0afc2b
{
"parentId": "f3322e4f-72b5-4064-be88-fcfed6c82635",
"title": {
"en-GB": "Fight club"
},
"slug": {
"en-GB": "fight-club"
},
"entryId": "9272ac06-1b3a-4e68-ac1b-a05828b0f7d6"
}