[Webinar] Zoho Writer for the manufacturing industry. Register Now

Skip to main content

Unpublish Document

Purpose 

To unpublish the document that has been published already either externally or within the organization.

HTTP Request URL

https://{zohoapis_domain}/writer/api/v1/documents/{{document_id}}/publish

HTTP Method

DELETE

Path Parameters

ParameterData TypeDescription
Mandatory Parameters
document_idStringSpecify the unique id of the document to be published.

Sample Request

Copiedcurl --location --request DELETE "https://www.zohoapis.com/writer/api/v1/documents/ponazabaeb2e2e3e44aeaabc04842a509a0a0/publish" \
  --header "Authorization: Zoho-oauthtoken xxx.yyy.zzz"

Sample Response

Copied{
  "result": "success",
  "scope": "organization",
  "message": "We've successfully unpublished this document within the organization."
}