Update the signed-in user profile
Every field is optional; send only what changed. An empty string clears bio, jobTitle or location. username cannot be cleared once set — omit the key to leave it alone. A body with no fields is a 400.
PATCH
/api/auth/user/profileAuthorization
AuthorizationBearer token (JWT) · headerrequiredRequest body
requiredapplication/jsonfullNamestringmin length 2 · max length 100
usernamestringLowercase letters, numbers, hyphens and underscores. Unique, case-insensitively. Cannot be cleared once set.
biostringEmpty string clears it.
max length 280
jobTitlestringEmpty string clears it.
max length 100
locationstringEmpty string clears it.
max length 100
showHeatmapbooleanWhether the profile shows its activity strip.
Responses
409That username is already taken
