update_auth_user
Modify authentication user data in self-hosted Supabase, including email, password, roles, and metadata, using service_role credentials for administrative updates.
Instructions
Updates fields for a user in auth.users. WARNING: Password handling is insecure. Requires service_role key and direct DB connection.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>"
},
"name": "update_auth_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The UUID of the user to update. | |
| No | New email address. | ||
| password | No | New plain text password (min 6 chars). WARNING: Insecure. | |
| role | No | New role. | |
| user_metadata | No | New user metadata (will overwrite existing). | |
| app_metadata | No | New app metadata (will overwrite existing). |