update_auth_user
Updates user fields like email, password, role, or metadata via Supabase Admin API. Requires service role key.
Instructions
Updates fields for a user using Supabase Admin API. Requires service role key.
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 |
|---|---|---|---|
| role | No | New role. | |
| No | New email address. | ||
| user_id | Yes | The UUID of the user to update. | |
| password | No | New plain text password (min 6 chars). WARNING: Insecure. | |
| app_metadata | No | New app metadata (will overwrite existing). | |
| user_metadata | No | New user metadata (will overwrite existing). |