authoring-delete-item
Deletes a Sitecore item by ID or path through the Authoring and Management API, sending it to the recycle bin by default or permanently removing it and its descendants when requested.
Instructions
Deletes a Sitecore item over the Authoring and Management API. By default the item goes to the recycle bin and can be restored; permanently true destroys it outright. Deleting an item deletes its descendants 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. | |
| database | No | The database holding the item. Defaults to master. | |
| permanently | No | When true, delete outright instead of moving to the recycle bin. Not reversible. |