v1

latestOpenAPI 3.1.02026-07-24700259.3 KB
ALLOWED RECIPIENTS

Remove allowed recipients

Remove one or more emails addresses or domain names stored in your Allowed Recipients List. <strong>Note: In the event that any of the email addresses or domains do not feature in the list, no error will be raised.</strong>

post/allowed_recipients/remove

Request body

allowed_recipientsstring[] required

Array of email addresses and domain names to remove.

enabledboolean

A flag indicating if this list is taken into account when sending

subaccount_idstring

If you wish to make this API call on behalf of a subaccount then include its unique ID here

Example request

{
  "enabled": true
}

Response

Allowed Recipients Removed

request_idstring required

Example response

{
  "request_id": "40cbb6f2-935f-11e7-b5be-480fcf01a6f2",
  "data": {
    "allowed_recipients": [
      "test-person@example.com"
    ],
    "enabled": true
  }
}