authoring-move-item
Move a Sitecore item and its descendants to a new parent through the Authoring and Management API while preserving all links. Specify one item id/path and one target parent id/path.
Instructions
Moves a Sitecore item to another parent over the Authoring and Management API, taking its descendants with it. Every link to the item survives the move — prefer this over delete-and-recreate, which breaks them. Supply exactly one of id or path, and exactly one of targetParentId or targetParentPath.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The item's GUID. Supply this or path. | |
| path | No | The item's full path. Supply this or id. | |
| database | No | The database holding the item. Defaults to master. | |
| sortOrder | No | The sort order to give the item under its new parent. | |
| targetParentId | No | The GUID of the parent to move into. Supply this or targetParentPath. | |
| targetParentPath | No | The path of the parent to move into. Supply this or targetParentId. |