---
title: "Update an user entity"
method: POST
path: "/users/{userId}"
tags: ["users"]
---

# Update an user entity

`POST /users/{userId}`

## Path parameters

- `userId` integer, required

## Request body

- UpsertUserRequest
  - `avatar` string
  - `avatarId` string
  - `defaultWorkspaceId` integer, nullable
  - `description` string
  - `email` string, email, required
  - `firstName` string
  - `lastName` string
  - `notification` boolean
  - `organization` string
  - `userName` string, required
  - `waveBuildNotification` 'ALWAYS_ON' | 'ON_ERROR' | 'ALWAYS_OFF'

## Response `204`

OK - No content

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
