delete https://api.servetel.in/v1/broadcast/dnd/leads/
This API allows you to delete bulk leads of the account DND List.
Sample Request
curl --request DELETE \
--url https://api.servetel.in/v1/broadcast/dnd/leads/id \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"field":"number"}'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to Fetch List of Leads in DND List.
Variable Name | Description | Data Type |
---|---|---|
id | Unique ID of the DND List. | String |
Request Variables (Body Params)
The following parameter is required to delete bulk leads of the account DND List.
Variable Name | Description | Data Type |
---|---|---|
field | Type of data for eg: number or lead_id. | string |
data | Data corresponding to the leads to be created. | array of strings |
Response Variables
The response returned is as following:
Variable Name | Description | Data Type |
---|---|---|
Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |