authoring-delete-item
Remove a Sitecore item via the Authoring and Management API, sending it to the recycle bin by default or permanently destroying it. Descendants are deleted too.
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. |