---
title: "Create or update a user"
method: PUT
path: "/api/users/{id}"
tags: ["user-resource"]
---

# Create or update a user

`PUT /api/users/{id}`

## Path parameters

- `id` string, required

## Request body

- UpsertUserRequest
  - `contactInformation` object — User's contact information
  - `groups` string[] — Ids of the groups this user belongs to
  - `name` string, required — User's full name
  - `password` string — Plaintext password to set or update for local-mode login. Omit to leave unchanged.
  - `roles` string[]

## Response `200`

OK

- object

---

[API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) · [All operations](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orkescloud/orkes-conductor-api-server/revisions/6ebf0c14ac41/schema)
