delete-protocol-mapper
Remove a protocol mapper from a Keycloak client using realm, client ID, and mapper ID. Clean up client configuration by deleting unwanted mappers.
Instructions
Delete a protocol mapper from a client
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>",
"clientId": "<clientId>",
"mapperId": "<mapperId>"
},
"name": "delete-protocol-mapper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| clientId | Yes | Client ID | |
| mapperId | Yes | Protocol mapper ID |