Home / Servers / Cloudflare API / zero_trust_organization_revoke_all_access_tokens_for_a_user

Revoke all Access tokens for a user

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

Revoke all Access tokens for a user Revokes a user's access across all applications. [POST /accounts/{account_id}/access/organizations/revoke_user]

Name on the gateway: cloudflare_api__zero_trust_organization_revoke_all_access_tokens_for_a_user · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
devicesbooleanWhen set to true, all devices associated with…
body_devicesbooleanWhen set to true, all devices associated with…
email requiredstringThe email of the user to revoke.
user_uidstringThe uuid of the user to revoke.
warp_session_reauthbooleanWhen set to true, the user will be required to…

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__zero_trust_organization_revoke_all_access_tokens_for_a_user",
  "arguments": {
    "account_id": "…",
    "email": "…"
  }
}

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 revoke all access tokens for a user tool with account_id set to ….

More from Cloudflare API