Delete Suppression List
This API allows you to remove the recipients from the suppression list.
Request Type
- DELETE
Request URL
https://campaigns.zoho.com/emailapi/v2/recipients/suppression
Content-Type
application/json
List of Request Body Attributes
| Parameters | Data Type | Description |
| recipients | JSON Array | List of email addresses to be removed from the suppression list. |
| recipients[].address | String | Email address of the suppressed contact. |
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 Array | Present only for failure responses. Contains one or more error objects describing the issue. Each error object contains a code and a message. |
| suppressions_ignored | JSON Array | List of contacts that were not deleted because they were not present in the suppression list. |
| suppressions_deleted | JSON Array | List of contacts successfully removed from the suppression list. |
Possible Errors
| Error Code | Description |
| 400402 | Suppression list not provided. |
| 400404 | Limit for a single API request has been exceeded. |
| 400405 | No contacts provided in suppression list. |
Sample Request Payload
Copied{
"recipients": [
{
"address": "patricia@zylker.com"
},
{
"address": "pamela@zylker.com"
}
]
}Sample Response - Success
Copied{
"response": {
"code": 200403,
"message": "Suppressions deleted successfully"
},
"suppressions_ignored": [
"pamela@zylker.com"
],
"suppressions_deleted": [
"patricia@zylker.com"
]
}Sample Response - Failure
Copied{
"errors": [
{
"code": 500401,
"message": "An error occurred in Suppression List API"
}
]
}