POST /accounts/{account_id}/email-security/settings/block_senders/batch

Send a Batch of Block Senders API calls to be executed together.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
posts[] Array Yes
posts[].pattern_type String Yes

Valid values:

  • "EMAIL"
  • "DOMAIN"
  • "UNKNOWN"
  • "IP"
posts[].is_regex Boolean Yes
posts[].pattern String Yes
posts[].comments String No
deletes[] Array Yes
deletes[].id Integer Yes

The unique identifier for the allow policy.

patches[] Array Yes
patches[].id Integer Yes

The unique identifier for the allow policy.

patches[].pattern_type String No

Valid values:

  • "EMAIL"
  • "DOMAIN"
  • "UNKNOWN"
  • "IP"
patches[].is_regex Boolean No
patches[].pattern String No
patches[].comments String No
puts[] Array Yes
puts[].id Integer Yes

The unique identifier for the allow policy.

puts[].pattern_type String Yes

Valid values:

  • "EMAIL"
  • "DOMAIN"
  • "UNKNOWN"
  • "IP"
puts[].is_regex Boolean Yes
puts[].pattern String Yes
puts[].comments String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.