Delete identity provider
keycloak_idp_deleteDelete an identity provider from a Keycloak realm by alias. Requires explicit confirmation to proceed.
Instructions
Permanently deletes an identity provider from the target realm by its alias. This is a destructive write operation that requires confirmation: it proceeds only when confirm is true, otherwise it is skipped. It is not idempotent, since deleting an already-removed provider has no provider to remove. Use keycloak_idp_list or keycloak_idp_get first to confirm the alias. Returns a message stating whether the provider was deleted or, if not, the reason.
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": {
"alias": "<alias>"
},
"name": "keycloak_idp_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Unique alias of the identity provider to delete, as shown by keycloak_idp_list (e.g. "google", "corporate-saml"). Required. | |
| confirm | No | Explicit confirmation flag for this destructive deletion. Must be true to proceed; when omitted or false the deletion is not performed. |