reset_user_password
Reset a user's password in the mcp-keycloak server using the user ID and new password. Optionally set the password as temporary, requiring the user to change it on next login. Specify the target realm if needed.
Instructions
Reset a user's password.
Args:
user_id: The user's ID
password: New password
temporary: Whether the password is temporary (user must change on next login)
realm: Target realm (uses default if not specified)
Returns:
Status message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
password | Yes | ||
realm | No | ||
temporary | No | ||
user_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"password": {
"title": "Password",
"type": "string"
},
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
},
"temporary": {
"default": true,
"title": "Temporary",
"type": "boolean"
},
"user_id": {
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"password"
],
"title": "reset_user_passwordArguments",
"type": "object"
}