Archive a document
Archiving a document allows outdated information to be moved out of sight whilst retaining the ability to optionally search and restore it later.
Request body
Example request
{
"id": "hDYep1TPAM"
}Response
OK
Example response
{
"data": {
"title": "🎉 Welcome to Acme Inc",
"emoji": "🎉",
"text": "…",
"urlId": "hDYep1TPAM",
"collaborators": [
{
"name": "Jane Doe"
}
],
"createdBy": {
"name": "Jane Doe"
},
"updatedBy": {
"name": "Jane Doe"
}
}
}Changes
Changed in 2 of the 6 revisions of this API.13
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ○
added the optional property
datato the response with the400statusresponse-optional-property-added
- ○
added the optional property
datato the response with the401statusresponse-optional-property-added
- ○
added the optional property
datato the response with the403statusresponse-optional-property-added
- ○
added the optional property
datato the response with the404statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the400statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the401statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the403statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the404statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the400statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the401statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the403statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the404statusresponse-optional-property-added
- ○