profile
Update the profile
Partial update. The server writes only the fields that are present in the body. onboardingComplete becomes true when grade and examType are set, and, for YKS, field too. communicationStyle is accepted here, but no response returns it. email and phone are not accepted: they belong to the auth identity. To change one, run the Supabase auth flow that verifies it — the new value reaches the profile on the next request. preferredName is set by Lala in chat, not through this endpoint.
PATCH
Update the profile
Authorizations
Supabase access token: Authorization: Bearer <token>
Body
application/json
Required string length:
1 - 80Maximum string length:
80Available options:
YKS, LGS Available options:
EA, Sayısal, Sözel Maximum string length:
32Maximum string length:
120Required range:
1 <= x <= 1000000Required range:
1 <= x <= 16Maximum array length:
16Required string length:
1 - 64Maximum array length:
16Required string length:
1 - 64Available options:
informal, formal Response
The profile after the update