---
title: "Update Current Org User"
method: PUT
path: "/api/organization/users/{id}"
tags: ["Users"]
---

# Update Current Org User

`PUT /api/organization/users/{id}`

Updates the permissions roles assigned to a user in the caller's current organization.

Only the user's role assignments are modified. Profile information such as name
and email address is not affected by this endpoint.

## Path parameters

- `id` string, uuid, required — Unique identifier of the user to update.

## Headers

- `X-Polytomic-Version` string

## Request body

- CurrentOrgUpdateUserRequestSchema
  - `role` string — Deprecated legacy role name. Use role_ids instead.
  - `role_ids` string[] — Identifiers of the permissions roles to assign to the user. Must contain at least one entry when provided.

## Response `200`

OK

- UserEnvelope
  - `data` User
    - `email` string — Email address used to sign in and receive notifications.
    - `id` string, uuid — Unique identifier of the user.
    - `organization_id` string, uuid — Unique identifier of the organization the user belongs to.
    - `role` string — Deprecated legacy role name. Use role_ids instead.
    - `role_ids` string[], nullable — Identifiers of the permissions roles assigned to the user.

## Other responses

- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

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