| |||||
API Home >> Writer >> API Reference >> POST Method APIs
To remove public sharing access from a particular document.
| Field | Description |
| documentId | Unique ID of the public document. |
| allowcomment | [boolean] - Check whether permission to add comment to the public document is allowed or not. |
| showcomment | [boolean] - Check whether permission to view other users comment is allowed or not. |
<form method="POST" action="http://export.writer.zoho.com/api/private/xml/removePublic/[documentId]?apikey=[APIKEY]&ticket=[Ticket]">
<input type="hidden" name="allowcomment" value="[true/false]">
<input type="hidden" name="showcomment" value="[true/false]">
<input type="submit" value="makePublic" class="divbutton" name="submit">
</form>
| Field | Description |
| documentId | Unique ID associated with the document whose public sharing access is to be removed. |
| documentName | Name the document. |
<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/api/private/xml/removePublic/8892000000064009">
<result>
<documentId>8892000000064009</documentId>
<documentName>Dell Laptops</documentName>
</result>
</response>
{
"response":
{
"uri": "/api/private/json/removePublic/8892000000064009",
"result":
{
"documentId":"8892000000064009",
"documentName":"Dell Laptops"
}
}
}