Restores the specified document.

Restores the specified document from the trash. Related versions, content, and child documents are restored asynchronously. Restoring an already active document has no effect. <Check title="Required Permissions" icon="key">The user must have at least `write` permission for the specified document.</Check>

Authentication

AuthorizationBearer

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

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document to restore.

Query parameters

alsoRestoreChildrenbooleanOptionalDefaults to true
Whether to also restore children documents.

Response

No Content

Errors

401
Unauthorized Error