This method is intended to delete an existing suppression rule (Suppression) in a project. Data is sent in application/json format.
A suppression (Suppression, suppression rule) is a website feature that prevents emails from being sent to a specific address. For example, a user has unsubscribed or reported spam, or the email address does not work at all. The system detects a situation where sending emails to this address is no longer possible and creates a suppression rule. You can delete certain rules manually in the Control Panel or via the API. However, you must make sure that the situation that caused the rule to be created has already been resolved. For example, if a subscriber has explicitly re-subscribed to your mailing list, you can delete the suppression rule related to their unsubscription. Delete suppression rules only if you are absolutely sure that the issue has been resolved. Abuse of deleting these rules may lead to a decrease in your sender reputation, up to and including account suspension.
HTTP request
- URL:
https://sender-solutions.com/api/suppressions/delete-suppression/ - HTTP Method: POST
- Content-Type:
application/json
Request body (JSON)
{
"Suppression": {
"Id": 23
}
} Example request using cURL
curl --location 'https://sender-solutions.com/api/suppressions/delete-suppression/' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{api-token}}' \
--data-raw '{
"Suppression": {
"Id": 23
}
}'
Field description
| Field | Type | Required | Description |
|---|---|---|---|
Suppression.Id | number | The suppression rule identifier |
Example of a successful response
{
"success": true
}