Publish specific version of the document
Purpose
To publish the most recent version of the document externally or within the organization from your Writer account.
HTTP Request URL
https://{zohoapis_domain}/writer/api/v1/documents/{{document_id}}/publish
Path Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
document_id | String | Specify the unique id of the document to be published. |
Body Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
scope | String | Specify scope = "external" to publish the document to public. Specify scope = "organization" to publish the document within the organization. |
auto_republish | Boolean | Enter auto_republish ="false". This will publish only the recent version of the document. Document repubishing should be done manually to update the future updates. |