---
title: "Update User Organization"
method: PATCH
path: "/users/{id}"
tags: ["User"]
---

# Update User Organization

`PATCH /users/{id}`

## Path parameters

- `id` string, required

## Request body

- UserOrganizationRequest
  - `organization_id` string, required

## Response `200`

Successful Response

- UserResponse
  - `email` string
  - `email_verified` boolean
  - `name` string
  - `nickname` string
  - `picture` string
  - `sub` string
  - `updated_at` string
  - `id` string
  - `organization_id` string, required
  - `role` 'ADMIN' — An enumeration.
  - `created_at` string, date-time

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.dev/dataherald/apis/fastapi.md) · [All operations](https://skmtc.dev/dataherald/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dataherald/fastapi/revisions/e168e98625a8/schema)
