authoring-rename-item
Renames a Sitecore item by ID or path while preserving its item ID so existing links remain valid; the item's path and derived URL update to the new name.
Instructions
Renames a Sitecore item over the Authoring and Management API. The item keeps its ID, so links to it survive, but its path changes and any URL derived from the name changes with it. Supply exactly one of id or path.
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. | |
| newName | Yes | The new name. Sitecore rejects names containing / \ : ? " < > | [ ]. | |
| database | No | The database holding the item. Defaults to master. |