DELETE
/
excluded-emails
curl --request DELETE \
  --url https://api.amplemarket.com/excluded-emails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "excluded_emails": [
    {
      "email": "<string>"
    }
  ]
}'
{
  "existing@domain.com": "success",
  "existing_from_crm@domain.com": "unsupported",
  "unexistent@domain.com": "not_found"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string
required

Body

application/vnd.amp+json
excluded_emails
object[]
required

Response

200
application/vnd.amp+json
Successful
{key}
enum<string>
Available options:
success,
not_found,
unsupported