update_auth_user
Update user details in Supabase authentication, including email, password, role, and metadata. Requires service_role key and direct database connection. Handle passwords with caution due to insecure processing.
Instructions
Updates fields for a user in auth.users. WARNING: Password handling is insecure. Requires service_role key and direct DB connection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app_metadata | No | New app metadata (will overwrite existing). | |
No | New email address. | ||
password | No | New plain text password (min 6 chars). WARNING: Insecure. | |
role | No | New role. | |
user_id | Yes | The UUID of the user to update. | |
user_metadata | No | New user metadata (will overwrite existing). |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Self-Hosted Supabase MCP Server
- apply_migration
- create_auth_user
- delete_auth_user
- execute_sql
- generate_typescript_types
- get_anon_key
- get_auth_user
- get_database_connections
- get_database_stats
- get_project_url
- get_service_key
- list_auth_users
- list_extensions
- list_migrations
- list_realtime_publications
- list_storage_buckets
- list_storage_objects
- list_tables
- rebuild_hooks
- update_auth_user
- verify_jwt_secret