POST /accounts/{account_id}/email-security/settings/domains/batch
Execute multiple domain operations in a single request. All four operation arrays (deletes, patches, puts, posts) are required and executed in order. Send empty arrays for unused operations.
Servers
- https://api.cloudflare.com/client/v4
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[].ip_restrictions[] |
Array | Yes | |
posts[].lookback_hops |
Integer | No | |
posts[].regions[] |
Array | Yes | |
posts[].allowed_delivery_modes[] |
Array | Yes | |
posts[].domain |
String | Yes | |
posts[].require_tls_inbound |
Boolean | No | |
posts[].drop_dispositions[] |
Array | Yes | |
posts[].transport |
String | No | |
posts[].require_tls_outbound |
Boolean | No | |
posts[].folder |
String | No |
Valid values:
|
posts[].integration_id |
String | No | |
deletes[] |
Array | Yes | |
deletes[].id |
String | Yes |
Domain identifier |
patches[] |
Array | Yes | |
patches[].ip_restrictions[] |
Array | No | |
patches[].lookback_hops |
Integer | No | |
patches[].id |
String | Yes |
Domain identifier |
patches[].regions[] |
Array | No | |
patches[].allowed_delivery_modes[] |
Array | No | |
patches[].domain |
String | No | |
patches[].require_tls_inbound |
Boolean | No | |
patches[].drop_dispositions[] |
Array | No | |
patches[].transport |
String | No | |
patches[].require_tls_outbound |
Boolean | No | |
patches[].folder |
String | No |
Valid values:
|
patches[].integration_id |
String | No | |
puts[] |
Array | Yes | |
puts[].ip_restrictions[] |
Array | Yes | |
puts[].lookback_hops |
Integer | Yes | |
puts[].id |
String | Yes |
Domain identifier |
puts[].regions[] |
Array | Yes | |
puts[].allowed_delivery_modes[] |
Array | Yes | |
puts[].require_tls_inbound |
Boolean | No | |
puts[].drop_dispositions[] |
Array | Yes | |
puts[].transport |
String | No | |
puts[].require_tls_outbound |
Boolean | No | |
puts[].folder |
String | No |
Valid values:
|
puts[].integration_id |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.