Overview
This request allows you to remove a transactional suppression by email address. It will return a status of true if the email address was successfully removed from the suppression list, and false if the request was unsuccessful. A false response will usually occur if the email address was not present in the suppression list.
Endpoint
| Method | URL | Parameters |
|---|---|---|
| DELETE | https://api.everlytic.net/transactional/email/v1/suppression/[Email Address] | [Email Address] – The email address to remove from the suppression list |
Example Request
curl --location --request DELETE 'https://api.everlytic.net/transactional/email/v1/suppression/[email protected]'
Response
Status codes
| Status code | Explanation |
|---|---|
| 200 Ok | Webhook was created successfully |
| 401 Unauthorized | The provided authorization credentials are incorrect |
Properties
| Property | Description | Data type | Parameters |
|---|---|---|---|
| status | The result of the request, indicating whether the suppression was deleted successfully or not | boolean |
|
Suppression deleted successfully [200 OK]
{
"status": true
}
Failed to delete suppression [200 OK]
{
"status": false
}
Invalid/Missing authorization credentials [401 Unauthorized]
{
"code": 401,
"message": "Login Required",
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "request",
"location": "authorization"
}
]
}
}