Skip to content
Start here

TCP Flow Protection

TCP 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

TCP 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}

TCP 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

TCP 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}