Delete Announcements API

To delete a posted announcement using API. This will delete all data pertaining to an announcement.

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Request Parameters

*idID of the announcement to be deleted

 Threshold Limit:  20 requests | Lock period: 5 minutes

Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.

Sample Request

Copiedhttps://people.zoho.com/api/announcement/deleteAnnoucement?id=448358000000257003

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Success Response

Copied<response uri="/api/announcement/deleteAnnouncement">
    <status>0</status>
    <message>Success</message>
    <result>
        <resultData>
            <status>1</status>
        </resultData>
    </result>
</response>
Copied{
    "response": {
        "result": {
            "resultData": {
                "status": 1
            }
        },
        "message": "Success",
        "uri": "/api/announcement/deleteAnnouncement",  
        "status": 0
    }
}

Error Response

Copied<response uri="/api/announcement/deleteAnnouncement">
    <status>1</status>
    <message>You are not permitted to access announcements;</message>
    <errors>
        <resultData></resultData>
    </errors>
</response>
Copied{
    "response": {
        "message": "You are not permitted to access announcements;",
        "uri": "/api/announcement/deleteAnnouncement",   
        "errors": {
            "resultData": {}
        },
        "status": 1
    }
}