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

Executes multiple operations atomically. All four operation arrays (deletes, patches, puts, posts) are required and executed in order. Send empty arrays for unused operations.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Account identifier tag.

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[].id String No

Content policy identifier.

posts[].name String Yes
posts[].notes String No
posts[].targets[] Array Yes
posts[].enabled Boolean Yes
posts[].modified_at String No
posts[].created_at String No
posts[].pattern String Yes
deletes[] Array Yes
deletes[].id String Yes

Content policy identifier.

patches[] Array Yes
patches[].id String Yes

Content policy identifier.

patches[].name String No
patches[].notes String No
patches[].targets[] Array No
patches[].enabled Boolean No
patches[].modified_at String No
patches[].created_at String No
patches[].pattern String No
puts[] Array Yes
puts[].id String Yes

Content policy identifier.

puts[].name String Yes
puts[].notes String No
puts[].targets[] Array Yes
puts[].enabled Boolean Yes
puts[].modified_at String No
puts[].created_at String No
puts[].pattern String Yes

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.