auth

Sync User

Sync a user from Supabase to the local database.

Verifies the requesting user matches the target, then updates the display name if it has changed.

post/api/v1/auth/sync-user

Request body

idstring required

Supabase user identifier to sync.

emailstring required

Email address from Supabase.

display_namestring nullable

Display name from Supabase profile.

Response

Successful Response

{"stackTrail":"paths:/api/v1/auth/sync-user:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.