PUT /zones/{zone_id}/fraud_detection/settings
Update Fraud Detection settings for a zone.
Notes on username_expressions behavior:
- If omitted or set to null, expressions are not modified.
- If provided as an empty array
[], all expressions will be cleared.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
zone_id |
String | Yes |
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 |
|---|---|---|---|
user_profiles |
String | No |
Whether Fraud User Profiles is enabled for the zone. Valid values:
|
username_expressions[] |
Array | No |
List of expressions to detect usernames in write HTTP requests.
|
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.