Documents
Unpublish a document
Unpublishing a document moves it back to a draft status and out of the collection.
post/documents.unpublish
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"
}
}
}