Restore content¶
Restores one content item from the Umbraco recycle bin.
Syntax¶
Example¶
Use a key because a recycled item's former route may no longer resolve:
Result¶
The result contains key, name, success, and result.
Permissions¶
Requires access to the UmbraScript section and a signed-in backoffice user for the restore operation.
Common failures¶
- The key cannot be found.
- The reference does not resolve to exactly one item.
- Umbraco cannot determine or use a restore destination.
- The current user cannot perform the restore operation.