v1
latestOpenAPI 3.1.02026-08-066984441.1 MBdocuments
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>
post/documents/trash/{documentId}/restore
Path parameters
documentIdstring uuid required
The id of the document to restore.
Query parameters
alsoRestoreChildrenboolean
Whether to also restore children documents.
Headers
Authorizationstring required
Bearer authentication
Response
No Content
object required