Update a Home Assistant user
ha_update_userUpdate a Home Assistant user's name, role, active state, or local-only flag. Set is_active to false to disable sign-in without deleting the account.
Instructions
Change a user's name, role, active state, or local-only restriction. Omit a field to leave it unchanged. Setting is_active=false disables sign-in without deleting the account. Cannot modify the owner's active state, or any system-generated (Supervisor) user. Requires ha:config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| role | No | 'admin' (system-admin, full access), 'user' (system-users, normal dashboard access, no settings), or 'read_only' (system-read-only, cannot change anything). | |
| user_id | Yes | User id from ha_list_users. | |
| is_active | No | false disables sign-in without deleting the account. | |
| local_only | No | ||
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |