Restores the document with the specified id from the trash.
Please note that restoring a document using this method will asynchronously and eventually update or recreate the document and the related entities such as document versions or its content.
This operation is idempotent, if applied to an already restored document, it will return a NoContent result.
<Check title="Required Permissions" icon="key">The user must have at least `write` permissions for the specified document.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
documentId
The id of the document to restore.
Query parameters
alsoRestoreChildren
Whether to also restore children documents.
Response
No Content

