Allowlist
List all allowlist prefixes.
client.DDoSProtection.advancedTCPProtection.allowlist.list(AllowlistListParams { account_id, direction, order, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<AllowlistListResponse { id, comment, created_on, 3 more } >
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
Create allowlist prefix.
client.DDoSProtection.advancedTCPProtection.allowlist.create(AllowlistCreateParams { account_id, comment, enabled, prefix } params, RequestOptionsoptions?): AllowlistCreateResponse { id, comment, created_on, 3 more }
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
Delete all allowlist prefixes.
client.DDoSProtection.advancedTCPProtection.allowlist.bulkDelete(AllowlistBulkDeleteParams { account_id } params, RequestOptionsoptions?): AllowlistBulkDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
AllowlistItems
Get allowlist prefix.
client.DDoSProtection.advancedTCPProtection.allowlist.items.get(stringprefixId, ItemGetParams { account_id } params, RequestOptionsoptions?): ItemGetResponse { id, comment, created_on, 3 more }
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}
Update allowlist prefix.
client.DDoSProtection.advancedTCPProtection.allowlist.items.edit(stringprefixId, ItemEditParams { account_id, comment, enabled } params, RequestOptionsoptions?): ItemEditResponse { id, comment, created_on, 3 more }
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}
Delete allowlist prefix.
client.DDoSProtection.advancedTCPProtection.allowlist.items.delete(stringprefixId, ItemDeleteParams { account_id } params, RequestOptionsoptions?): ItemDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}