Restores the document with the specified id from the trash.

Please note that, after a successful response, this method will trigger a number of events that will eventually update/recreate the document and the related entities such as document versions or its content. <Check> <b>Required Permissions</b>: The user has at least manage permissions for this document.</Check>

Path parameters

documentIdUUIDRequired
The id of the document to restore.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

alsoRestoreChildrenbooleanOptionalDefaults to true
Whether all children of this document should be restored.

Response

OK