---
title: "Modifies a user's role in the organization."
method: POST
path: "/organization/users/{user_id}"
tags: ["Users"]
---

# Modifies a user's role in the organization.

`POST /organization/users/{user_id}`

## Path parameters

- `user_id` string, required

## Request body

- UserRoleUpdateRequest
  - `role` 'owner' | 'reader', required — `owner` or `reader`

## Response `200`

User role updated successfully.

- User — Represents an individual `user` within an organization.
  - `object` 'organization.user', required — The object type, which is always `organization.user`
  - `id` string, required — The identifier, which can be referenced in API endpoints
  - `name` string, required — The name of the user
  - `email` string, required — The email address of the user
  - `role` 'owner' | 'reader', required — `owner` or `reader`
  - `added_at` integer, required — The Unix timestamp (in seconds) of when the user was added.

---

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