authoring-rename-item
Rename a Sitecore item via the Authoring and Management API. The item keeps its ID so links survive, but its path and derived URLs change; supply id or path and 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. |