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

API Limit

  • Duration: 5 mins
  • Number of Calls: 500
  • Lock Period: 30 mins

You can send 500 API calls per 5 minutes. If you hit this limit, you can't use this API for the next 30 minutes due to security reasons, but you can still use other APIs if their lock period hasn’t been reached.

List of Parameters: -- Version 1.1

ParameterData TypeDescription
resfmtStringXML (or) JSON
campaignkey*StringGet 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"
}