POST /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules
Create a TCP Flow Protection rule for an account.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes |
The ID of the account. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
burst_sensitivity |
String | Yes |
The burst sensitivity. Must be one of 'low', 'medium', 'high'. |
name |
String | Yes |
The name of the TCP Flow Protection rule. Value is relative to the 'scope' setting. For 'global' scope, name should be 'global'. For either the 'region' or 'datacenter' scope, name should be the actual name of the region or datacenter, e.g., 'wnam' or 'lax'. |
scope |
String | Yes |
The scope for the TCP Flow Protection rule. |
mode |
String | Yes |
The mode for the TCP Flow Protection. Must be one of 'enabled', 'disabled', 'monitoring'. |
rate_sensitivity |
String | Yes |
The rate sensitivity. Must be one of 'low', 'medium', 'high'. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.