Delete Suppression

Deletion Behavior

What happens when a suppression is deleted

  • A successful request returns an empty success response body.
  • Deletion is delegated to the MTA proxy suppression API and only succeeds when the proxy delete succeeds.
  • If the MTA proxy delete fails, the API returns 422 with the message Could not delete suppression from the MTA proxy API. and keeps the suppression record.
  • The suppression must belong to the workspace in the path.
DELETE
/v1/workspaces/:workspace/suppressions/:suppression

Delete a suppression by ID

Path parameters

workspacestring Required

ID of your workspace

suppressionstring Required

Suppression ID

Delete Suppression
curl -X DELETE https://api.leadpush.io/v1/workspaces/:workspace/suppressions/:suppression \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}"