Batch Block Senders
POST
/accounts/{account_id}/email-security/settings/block_senders/batch https://api.cloudflare.com/client/v4
Send a Batch of Block Senders API calls to be executed together.
Parameters
path Path Parameters
| Name | Type |
|---|---|
account_id
required
| type EmailSecurityAccountId = string |
Request Body
application/json
required
{
deletes: { id: number; }[];
patches: (EmailSecurityUpdateBlockedSender & { id: EmailSecurityBlockedSenderId ; })[];
posts:EmailSecurityCreateBlockedSender [];
puts: (EmailSecurityCreateBlockedSender & { id: EmailSecurityBlockedSenderId ; })[];
}
deletes: { id: number; }[];
patches: (
posts:
puts: (
}
Responses
200 application/json
interface EmailSecurityApiResponseCommon {
errors:EmailSecurityMessage [];
messages:EmailSecurityMessage [];
success: boolean;
} & { result: {
deletes: { id: number; }[];
patches:EmailSecurityBlockedSender [];
posts:EmailSecurityBlockedSender [];
puts:EmailSecurityBlockedSender [];
}; }
errors:
messages:
success: boolean;
} & { result: {
deletes: { id: number; }[];
patches:
posts:
puts:
}; }
Client Errors
4XX application/json
Client Error
{
errors:EmailSecurityMessage [];
messages:EmailSecurityMessage [];
result: {} | null;
success: boolean;
}
errors:
messages:
result: {} | null;
success: boolean;
}