v5

latestOpenAPI 3.0.02026-08-04258282491.7 KB
User

Update the current user

Update the authenticated user's own profile. The {userId} path segment is ignored; you can only ever update yourself. Sending an empty string for a field clears it; omitted fields are left untouched.

put/users/{userId}

Request body

firstNamestring
lastNamestring
userRolestring
jobTitlestring
departmentstring
phonestring
calendarLinkstring
socialLinkstring
otherLinkstring
knewGleapFromstring
userUsagestring
profileImageUrlstring
completedOnboardingboolean
oldpasswordstring
availableboolean
unavailableProjectsstring[]
{"stackTrail":"components:schemas:UpdateUserDto:properties:notificationPreferences","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:UpdateUserDto:properties:notificationSettings","oasType":"schema","type":"unknown"}

Response

Ok

{"stackTrail":"paths:/users/{userId}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}