POST /accounts/{account_id}/email-security/settings/block_senders/batch
Send a Batch of Block Senders API calls to be executed together.
Servers
- https://api.cloudflare.com/client/v4
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:
|
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:
|
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:
|
puts[].is_regex |
Boolean | Yes | |
puts[].pattern |
String | Yes | |
puts[].comments |
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.