Delete Campaign
Using this API, you can delete campaigns.
Request Type:
- Get
Scope required
ZohoCampaigns.campaign.DELETE
Other alternative scopes
- ZohoCampaigns.campaign.WRITE (CREATE + UPDATE + DELETE)
- ZohoCampaigns.campaign.ALL (CREATE + UPDATE + DELETE + READ)
Header:
Authorization: Zoho-oauthtoken <access_token>
Request URL
https://campaigns.zoho.com/api/v1.1/deletecampaign
List of Parameters: -- Version 1.1
Parameter | Data Type | Description |
resfmt | String | XML (or) JSON |
campaignkey* | String | Get it from recentcampaigns response. |
* - Mandatory Parameters
Sample XML Request
Copiedhttps://campaigns.zoho.com/api/v1.1/deletecampaign?campaignkey=[campaignkey]
Sample Response
Copied<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<response uri="/api/v1.1/deletecampaign" version="1.1">
<code>0</code>
<status>success</status>
<message>success</message>
</response>
Sample JSON Request
Copiedhttps://campaigns.zoho.com/api/v1.1/deletecampaign?campaignkey=[campaignkey]
Sample Response
Copied{
"message": "success",
"status": "success",
"code": "0",
"uri": "/api/v1.1/deletecampaign",
"version": "1.1"
}