Prefixes
List all prefixes.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionPrefixListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Create prefix.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.New(ctx, params) (*AdvancedTCPProtectionPrefixNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Delete all prefixes.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.BulkDelete(ctx, body) (*AdvancedTCPProtectionPrefixBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes
Create multiple prefixes.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.BulkNew(ctx, params) (*SinglePage[AdvancedTCPProtectionPrefixBulkNewResponse], error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk
PrefixesItems
Get prefix.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Get(ctx, prefixID, query) (*AdvancedTCPProtectionPrefixItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}
Update prefix.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Edit(ctx, prefixID, params) (*AdvancedTCPProtectionPrefixItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}
Delete prefix.
client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Delete(ctx, prefixID, body) (*AdvancedTCPProtectionPrefixItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}