Zoho - Trademark
Blogs
   Forums   Show Home
   Toll Free : 888 900 9646

API Home >> Show >> API Reference >> Private

 


To remove public sharing access from a particular presentation.



Request URL : (POST)

                            XML : http://show.zoho.com/api/private/xml/removepublic/[presentationId]?apikey=[API Key]&ticket=[Ticket]

                            JSON : http://show.zoho.com/api/private/json/removepublic/[presentationId]?apikey=[API Key]&ticket=[Ticket]


Request parameters

To remove public sharing access from a particular presentation we need to submit a form data as mentioned below:


Sample Form (POST Method)


<form method="POST"    action="http://show.zoho.com/api/private/xml/removepublic/3000000005001?apikey=[APIKEY]&ticket=[Ticket]">

<input type="submit" value="removepublic" name="submit">

</form>




Response fields

The schema document for the API response is located at: http://show.zoho.com/schema/api/presentationaction.xsd


Field
Description
presentationId
Unique ID associated with the presentation whose public access is being revoked.
presentationName
Name of the presentation.


Sample Response

The following is the sample XML response for the above method:


<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/api/private/xml/removepublic/3000000005001">
<result>
      <presentationId>3000000005001</presentationId>
      <presentationName>ajax</presentationName>
</result>
</response>


Equivalent JSON response


{
    "response":
    {
        "uri": "/api/private/json/removepublic/3000000005001",
        "result":
        {
                 "presentationId":"3000000005001",
                 "presentationName":"ajax"
        }
    }
}



Errors


Removing public sharing access from a presentation method may return general & input errors.