DELETE - Delete power dialer campaign

 

Purpose

Use this API to delete the power dialer campaign.


Authorization

HeaderKey

Description

Authorization*

Zoho-oauthtoken<space><ACCESS_TOKEN>

Accept*

Set to application/json.

Request URL

Method: DELETE

https://voice.zoho.com/rest/json/zv/api/powerdialer

Scope: ZohoVoice.powerdialer.DELETE

Parameters:

Param Name

Data Type

Description

campaign_id

Long

Represents the power dialer campaign ID.

campaign_ids

JSONArray

Represents the list of power dialer campaign IDs.

Sample Request

Copiedcurl "https://voice.zoho.com/rest/json/zv/api/powerdialer" \
-X DELETE \
-H "Authorization:Zoho-oauthtoken *****"

Sample Response - Success

Copied{
  "code": "200",
  "records": {
    "44385000000225001": {
      "reason": "success",
      "status": "success"
    }
  },
  "status": "SUCCESS"
}

Sample Response - Error

Copied{
  "code": "ZVT0052",
  "message": "Unauthorized access.",
  "status": "ERROR"
}