Advanced TCP Protection
Advanced TCP ProtectionAllowlist
List all allowlist prefixes.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionAllowlistListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
Create allowlist prefix.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.New(ctx, params) (*AdvancedTCPProtectionAllowlistNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
Delete all allowlist prefixes.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.BulkDelete(ctx, body) (*AdvancedTCPProtectionAllowlistBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist
Advanced TCP ProtectionAllowlistItems
Get allowlist prefix.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Get(ctx, prefixID, query) (*AdvancedTCPProtectionAllowlistItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}
Update allowlist prefix.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Edit(ctx, prefixID, params) (*AdvancedTCPProtectionAllowlistItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}
Delete allowlist prefix.
client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Delete(ctx, prefixID, body) (*AdvancedTCPProtectionAllowlistItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}
Advanced TCP ProtectionPrefixes
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
Advanced TCP ProtectionPrefixesItems
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}
Advanced TCP ProtectionSYN Protection
Advanced TCP ProtectionSYN ProtectionFilters
List all SYN Protection filters.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionSynProtectionFilterListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters
Create a SYN Protection filter.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.New(ctx, params) (*AdvancedTCPProtectionSynProtectionFilterNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters
Delete all SYN Protection filters.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.BulkDelete(ctx, body) (*AdvancedTCPProtectionSynProtectionFilterBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters
Advanced TCP ProtectionSYN ProtectionFiltersItems
Get SYN Protection filter.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Get(ctx, filterID, query) (*AdvancedTCPProtectionSynProtectionFilterItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}
Update SYN Protection filter.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Edit(ctx, filterID, params) (*AdvancedTCPProtectionSynProtectionFilterItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}
Delete SYN Protection filter.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Delete(ctx, filterID, body) (*AdvancedTCPProtectionSynProtectionFilterItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}
Advanced TCP ProtectionSYN ProtectionRules
List all SYN Protection rules.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionSynProtectionRuleListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules
Create SYN Protection rule.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.New(ctx, params) (*AdvancedTCPProtectionSynProtectionRuleNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules
Delete all SYN Protection rules.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.BulkDelete(ctx, body) (*AdvancedTCPProtectionSynProtectionRuleBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules
Advanced TCP ProtectionSYN ProtectionRulesItems
Get SYN Protection rule.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Get(ctx, ruleID, query) (*AdvancedTCPProtectionSynProtectionRuleItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}
Update SYN Protection rule.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Edit(ctx, ruleID, params) (*AdvancedTCPProtectionSynProtectionRuleItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}
Delete SYN Protection rule.
client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Delete(ctx, ruleID, body) (*AdvancedTCPProtectionSynProtectionRuleItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}
Advanced TCP ProtectionTCP Flow Protection
Advanced TCP ProtectionTCP Flow ProtectionFilters
List all TCP Flow Protection filters.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionTCPFlowProtectionFilterListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters
Create a TCP Flow Protection filter.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.New(ctx, params) (*AdvancedTCPProtectionTCPFlowProtectionFilterNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters
Delete all TCP Flow Protection filters.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.BulkDelete(ctx, body) (*AdvancedTCPProtectionTCPFlowProtectionFilterBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters
Advanced TCP ProtectionTCP Flow ProtectionFiltersItems
Get TCP Flow Protection filter.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Get(ctx, filterID, query) (*AdvancedTCPProtectionTCPFlowProtectionFilterItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}
Update TCP Flow Protection filter.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Edit(ctx, filterID, params) (*AdvancedTCPProtectionTCPFlowProtectionFilterItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}
Delete TCP Flow Protection filter.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Delete(ctx, filterID, body) (*AdvancedTCPProtectionTCPFlowProtectionFilterItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}
Advanced TCP ProtectionTCP Flow ProtectionRules
List all TCP Flow Protection rules.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.List(ctx, params) (*V4PagePaginationArray[AdvancedTCPProtectionTCPFlowProtectionRuleListResponse], error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules
Create TCP Flow Protection rule.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.New(ctx, params) (*AdvancedTCPProtectionTCPFlowProtectionRuleNewResponse, error)
POST/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules
Delete all TCP Flow Protection rules.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.BulkDelete(ctx, body) (*AdvancedTCPProtectionTCPFlowProtectionRuleBulkDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules
Advanced TCP ProtectionTCP Flow ProtectionRulesItems
Get TCP Flow Protection rule.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Get(ctx, ruleID, query) (*AdvancedTCPProtectionTCPFlowProtectionRuleItemGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}
Update TCP Flow Protection rule.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Edit(ctx, ruleID, params) (*AdvancedTCPProtectionTCPFlowProtectionRuleItemEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}
Delete TCP Flow Protection rule.
client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Delete(ctx, ruleID, body) (*AdvancedTCPProtectionTCPFlowProtectionRuleItemDeleteResponse, error)
DELETE/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}
Advanced TCP ProtectionStatus
Get protection status.
client.DDoSProtection.AdvancedTCPProtection.Status.Get(ctx, query) (*AdvancedTCPProtectionStatusGetResponse, error)
GET/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status
Update protection status.
client.DDoSProtection.AdvancedTCPProtection.Status.Edit(ctx, params) (*AdvancedTCPProtectionStatusEditResponse, error)
PATCH/accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status