Remove a user's login without deleting the user
ha_remove_user_credentialsRemove local username/password login from a Home Assistant user while keeping the account and other login methods. Use for revoking sign-in access without deleting the user.
Instructions
Remove the local username/password login from a user, without deleting the user record itself. The user still exists (and keeps any other login method) but can no longer sign in with this username. Use ha_delete_user to remove the account entirely. Requires ha:config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | The username to remove (not the user id). | |
| 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. |