---
title: "PATCH /users/{id}/roles"
method: PATCH
path: "/users/{id}/roles"
---

# PATCH /users/{id}/roles

`PATCH /users/{id}/roles`

## Path parameters

- `id` string, required

## Request body

- UpdateUserRoleDto
  - `accountId` string, required
  - `projectId` string
  - `role` string, required

## Response `200`

## Changes

> 4 revisions in range; 1 could not be searched.

- **2024-05-21** `008934224314` — 1 info
  - endpoint added
- **2024-05-20** `a2d864f3a8db` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/thatapicompany/apis/auth-api/changes/users/:id/roles/patch.md)

---

[API](https://skmtc.dev/thatapicompany/apis/auth-api.md) · [All operations](https://skmtc.dev/thatapicompany/apis/auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thatapicompany/auth-api/revisions/0aa13e625b53/schema)
