HostingDelivery

Delete suppression list entry

POST/api/delivery/suppression_lists/delete

Removes a suppression list entry by email address.

X-Api-Token<token>

API token used to authenticate requests.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string

Email address to remove from the suppression list.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/delivery/suppression_lists/delete" \  -H "X-Api-Token: YOUR_API_TOKEN" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{    "email": "string"  }'
Empty
{
  "message": "Unauthorized",
  "errors": []
}
{
  "message": "Forbidden",
  "errors": []
}
{
  "message": "Not found",
  "errors": []
}
{
  "message": "Validation failed",
  "errors": [
    {
      "field": "name",
      "description": "is not valid"
    }
  ]
}