POST /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules
Create a SYN 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 |
---|---|---|---|
mitigation_type |
String | No |
The type of mitigation. Must be one of 'challenge' or 'retransmit'. Optional. Defaults to 'challenge'. |
burst_sensitivity |
String | Yes |
The burst sensitivity. Must be one of 'low', 'medium', 'high'. |
name |
String | Yes |
The name of the SYN 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 SYN Protection rule. Must be one of 'global', 'region', or 'datacenter'. |
mode |
String | Yes |
The mode for SYN 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.