Update user
keycloak_user_updateUpdate a Keycloak user's profile fields without affecting omitted ones. Use after retrieving current values to modify email, name, or enabled status.
Instructions
Write operation that updates an existing user's profile fields and returns a confirmation message. Only the fields you supply are changed; omitted fields are left untouched (no field is cleared by omission). Idempotent: applying the same values again leaves the user unchanged. Use keycloak_user_get first to read current values, and keycloak_user_reset_password for credentials rather than this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Keycloak user id (UUID) of the account to update. Required; obtain it from keycloak_user_search. | |
| No | New email address (e.g. "jane@example.com"). Optional; omit to leave the email unchanged. | ||
| enabled | No | New enabled state: true to allow login, false to block it. Optional; omit to leave it unchanged. | |
| lastName | No | New last (family) name. Optional; omit to leave it unchanged. | |
| firstName | No | New first (given) name. Optional; omit to leave it unchanged. |