documents
Restores the specified document.
Changed onRestores 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>
post/documents/trash/{documentId}/restore
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/documents/trash/{documentId}/restore
- Auth: HTTP bearer
Path parameters
documentIdstring uuid required
The id of the document to restore.
Query parameters
alsoRestoreChildrenboolean
Whether to also restore children documents.
Response
No Content
object required
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostDocumentsTrashRestoreByDocumentIdremoved and replaced withdocuments_PostDocumentsTrashRestoreByDocumentId
- info