---
title: "Update the current user"
method: PUT
path: "/users/{userId}"
tags: ["User"]
---

# Update the current user

`PUT /users/{userId}`

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.

## Request body

- UpdateUserDto
  - `firstName` string
  - `lastName` string
  - `userRole` string
  - `jobTitle` string
  - `department` string
  - `phone` string
  - `calendarLink` string
  - `socialLink` string
  - `otherLink` string
  - `knewGleapFrom` string
  - `userUsage` string
  - `profileImageUrl` string
  - `completedOnboarding` boolean
  - `available` boolean
  - `unavailableProjects` string[]
  - `notificationPreferences` unknown
  - `notificationSettings` unknown

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/6f02af3a6c47/schema)
