---
title: "Update User Role"
method: PUT
path: "/api/users/{user_id}/role"
tags: ["users"]
---

# Update User Role

`PUT /api/users/{user_id}/role`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/users/{user_id}/role`
- Auth: none declared

Update a user's role in the organization via proxy.

## Path parameters

- `user_id` string, required

## Cookies

- `session` string, nullable

## Request body

- UpdateRoleRequest
  - `role` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
