Skip to content
Start here

Fraud

Get Fraud Detection Settings
client.fraud.get(FraudGetParams { zone_id } params, RequestOptionsoptions?): FraudSettings { user_profiles, username_expressions }
GET/zones/{zone_id}/fraud_detection/settings
Update Fraud Detection Settings
client.fraud.update(FraudUpdateParams { zone_id, user_profiles, username_expressions } params, RequestOptionsoptions?): FraudSettings { user_profiles, username_expressions }
PUT/zones/{zone_id}/fraud_detection/settings
ModelsExpand Collapse
FraudSettings { user_profiles, username_expressions }
user_profiles?: "enabled" | "disabled"

Whether Fraud User Profiles is enabled for the zone.

One of the following:
"enabled"
"disabled"
username_expressions?: Array<string>

List of expressions to detect usernames in write HTTP requests.

  • Maximum of 10 expressions.
  • Omit or set to null to leave unchanged on update.
  • Provide an empty array [] to clear all expressions on update.
  • Invalid expressions will result in a 10400 Bad Request with details in the messages array.