remove_all_user_sessions
Terminates all active user sessions in a specified realm or the default realm, ensuring users must re-authenticate. Useful for enhancing security or enforcing session resets in Keycloak identity management.
Instructions
Remove all sessions for all users in the realm.
Args:
realm: Target realm (uses default if not specified)
Returns:
Status message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
realm | No |
Input Schema (JSON Schema)
{
"properties": {
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
}
},
"title": "remove_all_user_sessionsArguments",
"type": "object"
}