Profile
Update user profile
Update the current user's profile (displayName, language).
PATCH
/api/profilebetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Request Body
application/json
curl -X PATCH "https://loading/api/profile" \ -H "Content-Type: application/json" \ -d '{}'{
"ok": true,
"language": "fr",
"displayName": "string"
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"requestId": "req_abc123"
}