Prefixes
List all prefixes.
client.DDoSProtection.advancedTCPProtection.prefixes.list(PrefixListParams { account_id, direction, order, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<PrefixListResponse { id, comment, created_on, 3 more } >
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Create prefix.
client.DDoSProtection.advancedTCPProtection.prefixes.create(PrefixCreateParams { account_id, comment, excluded, prefix } params, RequestOptionsoptions?): PrefixCreateResponse { id, comment, created_on, 3 more }
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Delete all prefixes.
client.DDoSProtection.advancedTCPProtection.prefixes.bulkDelete(PrefixBulkDeleteParams { account_id } params, RequestOptionsoptions?): PrefixBulkDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Create multiple prefixes.
client.DDoSProtection.advancedTCPProtection.prefixes.bulkCreate(PrefixBulkCreateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<PrefixBulkCreateResponse { id, comment, created_on, 3 more } >
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk
PrefixesItems
Get prefix.
client.DDoSProtection.advancedTCPProtection.prefixes.items.get(stringprefixId, ItemGetParams { account_id } params, RequestOptionsoptions?): ItemGetResponse { id, comment, created_on, 3 more }
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}
Update prefix.
client.DDoSProtection.advancedTCPProtection.prefixes.items.edit(stringprefixId, ItemEditParams { account_id, comment, excluded } params, RequestOptionsoptions?): ItemEditResponse { id, comment, created_on, 3 more }
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}
Delete prefix.
client.DDoSProtection.advancedTCPProtection.prefixes.items.delete(stringprefixId, ItemDeleteParams { account_id } params, RequestOptionsoptions?): ItemDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}