Home / Servers / Cloudflare API / waf_product_api_leaked_credentials_update_detection

Update a custom detection location of a zone.

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Update a custom detection location of a zone. Update the username and password expressions of an existing detection location, identified by its… [PUT /zones/{zone_id}/leaked-credential-checks/detections/{detection_id}]

Name on the gateway: cloudflare_api__waf_product_api_leaked_credentials_update_detection · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
detection_id requiredstringdetection_id parameter
idstringDefines the unique ID for this custom detection.
passwordstringDefines ehe ruleset expression to use in…
usernamestringDefines the ruleset expression to use in…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__waf_product_api_leaked_credentials_update_detection",
  "arguments": {
    "zone_id": "…",
    "detection_id": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a custom detection location of a zone. tool with zone_id set to ….

More from Cloudflare API