revoke_user_consent
Revoke a user's consent and offline tokens for a specific client, removing authorized access in Keycloak.
Instructions
Revoke consent and offline tokens for a particular client from a user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"realm": "<realm>",
"user_id": "<user_id>",
"client_id": "<client_id>"
},
"name": "revoke_user_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| user_id | Yes | User ID | |
| client_id | Yes | Client ID |