Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs(auth): clarify mapping of user metadata in updateUser example (#35047)

bnlvn68fde6cf84f1
diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml
index da02f7a25a6..e7dc26710bc 100644
--- a/apps/docs/spec/supabase_js_v2.yml
+++ b/apps/docs/spec/supabase_js_v2.yml
@@ -1469,6 +1469,10 @@ functions:
```
- id: update-the-users-metadata
name: Update the user's metadata
+ description: |
+ Updates the user's custom metadata.
+
+ **Note**: The `data` field maps to the `auth.users.raw_user_meta_data` column in your Supabase database. When calling `getUser()`, the data will be available as `user.user_metadata`.
isSpotlight: true
code: |
```js