Delete Recipient List
This API allows you to delete a list and its recipients.
Request Type
- DELETE
Request URL
https://campaigns.zoho.com/emailapi/v1/recipients/{recipient_list_id}
Content-Type
application/json
List of Response Body Attributes
Parameters | Data Type | Description |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
errors | JSON Object | Contains the error details of the API such as 'code' and 'message'. |
Possible Errors
Error Code | Description |
400502 | Recipient list ID not provided. |
Sample Response - Success
Copied{
"response": {
"code": 200505,
"message": "Recipient list(s) deleted successfully"
}
}
Sample Response - Failure
Copied{
"errors": [
{
"code": 500501,
"message": "An error occurred in Recipient List API"
}
]
}