---
title: Advanced TCP Protection
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/go)

[DDoS Protection](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Advanced TCP Protection

#### Advanced TCP ProtectionAllowlist

##### [List all allowlist prefixes.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/methods/list)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionAllowlistListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist

##### [Create allowlist prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/methods/create)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.New(ctx, params) (\*[AdvancedTCPProtectionAllowlistNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist

##### [Delete all allowlist prefixes.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionAllowlistBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist

#### Advanced TCP ProtectionAllowlistItems

##### [Get allowlist prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Get(ctx, prefixID, query) (\*[AdvancedTCPProtectionAllowlistItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist.items%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist/{prefix\_id}

##### [Update allowlist prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Edit(ctx, prefixID, params) (\*[AdvancedTCPProtectionAllowlistItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist.items%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist/{prefix\_id}

##### [Delete allowlist prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/allowlist/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.Allowlist.Items.Delete(ctx, prefixID, body) (\*[AdvancedTCPProtectionAllowlistItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.allowlist.items%20%3E%20%28model%29%20AdvancedTCPProtectionAllowlistItemDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/allowlist/{prefix\_id}

#### Advanced TCP ProtectionPrefixes

##### [List all prefixes.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/methods/list)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionPrefixListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes

##### [Create prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/methods/create)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.New(ctx, params) (\*[AdvancedTCPProtectionPrefixNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes

##### [Delete all prefixes.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionPrefixBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes

##### [Create multiple prefixes.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/methods/bulk%5Fcreate)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.BulkNew(ctx, params) (\*SinglePage\[[AdvancedTCPProtectionPrefixBulkNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixBulkNewResponse%20%3E%20%28schema%29)\], error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes/bulk

#### Advanced TCP ProtectionPrefixesItems

##### [Get prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Get(ctx, prefixID, query) (\*[AdvancedTCPProtectionPrefixItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes.items%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes/{prefix\_id}

##### [Update prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Edit(ctx, prefixID, params) (\*[AdvancedTCPProtectionPrefixItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes.items%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/prefixes/{prefix\_id}

##### [Delete prefix.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/prefixes/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.Prefixes.Items.Delete(ctx, prefixID, body) (\*[AdvancedTCPProtectionPrefixItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.prefixes.items%20%3E%20%28model%29%20AdvancedTCPProtectionPrefixItemDeleteResponse%20%3E%20%28schema%29), 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.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/methods/list)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionSynProtectionFilterListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters

##### [Create a SYN Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/methods/create)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.New(ctx, params) (\*[AdvancedTCPProtectionSynProtectionFilterNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters

##### [Delete all SYN Protection filters.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionSynProtectionFilterBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters

#### Advanced TCP ProtectionSYN ProtectionFiltersItems

##### [Get SYN Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Get(ctx, filterID, query) (\*[AdvancedTCPProtectionSynProtectionFilterItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters/{filter\_id}

##### [Update SYN Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Edit(ctx, filterID, params) (\*[AdvancedTCPProtectionSynProtectionFilterItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters/{filter\_id}

##### [Delete SYN Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/filters/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Filters.Items.Delete(ctx, filterID, body) (\*[AdvancedTCPProtectionSynProtectionFilterItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionFilterItemDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/filters/{filter\_id}

#### Advanced TCP ProtectionSYN ProtectionRules

##### [List all SYN Protection rules.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/methods/list)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionSynProtectionRuleListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/rules

##### [Create SYN Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/methods/create)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.New(ctx, params) (\*[AdvancedTCPProtectionSynProtectionRuleNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/rules

##### [Delete all SYN Protection rules.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionSynProtectionRuleBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/rules

#### Advanced TCP ProtectionSYN ProtectionRulesItems

##### [Get SYN Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Get(ctx, ruleID, query) (\*[AdvancedTCPProtectionSynProtectionRuleItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/rules/{rule\_id}

##### [Update SYN Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Edit(ctx, ruleID, params) (\*[AdvancedTCPProtectionSynProtectionRuleItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/syn\_protection/rules/{rule\_id}

##### [Delete SYN Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/syn%5Fprotection/subresources/rules/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.SynProtection.Rules.Items.Delete(ctx, ruleID, body) (\*[AdvancedTCPProtectionSynProtectionRuleItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.syn%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionSynProtectionRuleItemDeleteResponse%20%3E%20%28schema%29), 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.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/methods/list)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionTCPFlowProtectionFilterListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/filters

##### [Create a TCP Flow Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/methods/create)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.New(ctx, params) (\*[AdvancedTCPProtectionTCPFlowProtectionFilterNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/filters

##### [Delete all TCP Flow Protection filters.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionTCPFlowProtectionFilterBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/filters

#### Advanced TCP ProtectionTCP Flow ProtectionFiltersItems

##### [Get TCP Flow Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Get(ctx, filterID, query) (\*[AdvancedTCPProtectionTCPFlowProtectionFilterItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/filters/{filter\_id}

##### [Update TCP Flow Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Edit(ctx, filterID, params) (\*[AdvancedTCPProtectionTCPFlowProtectionFilterItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/filters/{filter\_id}

##### [Delete TCP Flow Protection filter.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/filters/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Filters.Items.Delete(ctx, filterID, body) (\*[AdvancedTCPProtectionTCPFlowProtectionFilterItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.filters.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionFilterItemDeleteResponse%20%3E%20%28schema%29), 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.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/methods/list)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.List(ctx, params) (\*V4PagePaginationArray\[[AdvancedTCPProtectionTCPFlowProtectionRuleListResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleListResponse%20%3E%20%28schema%29)\], error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules

##### [Create TCP Flow Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/methods/create)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.New(ctx, params) (\*[AdvancedTCPProtectionTCPFlowProtectionRuleNewResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleNewResponse%20%3E%20%28schema%29), error)

POST/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules

##### [Delete all TCP Flow Protection rules.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/methods/bulk%5Fdelete)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.BulkDelete(ctx, body) (\*[AdvancedTCPProtectionTCPFlowProtectionRuleBulkDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleBulkDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules

#### Advanced TCP ProtectionTCP Flow ProtectionRulesItems

##### [Get TCP Flow Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/subresources/items/methods/get)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Get(ctx, ruleID, query) (\*[AdvancedTCPProtectionTCPFlowProtectionRuleItemGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleItemGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules/{rule\_id}

##### [Update TCP Flow Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/subresources/items/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Edit(ctx, ruleID, params) (\*[AdvancedTCPProtectionTCPFlowProtectionRuleItemEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleItemEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules/{rule\_id}

##### [Delete TCP Flow Protection rule.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/tcp%5Fflow%5Fprotection/subresources/rules/subresources/items/methods/delete)

client.DDoSProtection.AdvancedTCPProtection.TCPFlowProtection.Rules.Items.Delete(ctx, ruleID, body) (\*[AdvancedTCPProtectionTCPFlowProtectionRuleItemDeleteResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.tcp%5Fflow%5Fprotection.rules.items%20%3E%20%28model%29%20AdvancedTCPProtectionTCPFlowProtectionRuleItemDeleteResponse%20%3E%20%28schema%29), error)

DELETE/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_flow\_protection/rules/{rule\_id}

#### Advanced TCP ProtectionStatus

##### [Get protection status.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/status/methods/get)

client.DDoSProtection.AdvancedTCPProtection.Status.Get(ctx, query) (\*[AdvancedTCPProtectionStatusGetResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.status%20%3E%20%28model%29%20AdvancedTCPProtectionStatusGetResponse%20%3E%20%28schema%29), error)

GET/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_protection\_status

##### [Update protection status.](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection/subresources/advanced%5Ftcp%5Fprotection/subresources/status/methods/edit)

client.DDoSProtection.AdvancedTCPProtection.Status.Edit(ctx, params) (\*[AdvancedTCPProtectionStatusEditResponse](https://developers.cloudflare.com/api/go/resources/ddos%5Fprotection#%28resource%29%20ddos%5Fprotection.advanced%5Ftcp%5Fprotection.status%20%3E%20%28model%29%20AdvancedTCPProtectionStatusEditResponse%20%3E%20%28schema%29), error)

PATCH/accounts/{account\_id}/magic/advanced\_tcp\_protection/configs/tcp\_protection\_status