---
title: "Update user role"
method: PATCH
path: "/v1/apps/{app_id}/users/{user_id}/role"
tags: ["Apps"]
---

# Update user role

`PATCH /v1/apps/{app_id}/users/{user_id}/role`

Update a user's role in this app's Clerk organization.

## Path parameters

- `app_id` string, required — App ID
- `user_id` string, required — Clerk user ID

## Request body

- UpdateRoleRequest
  - `role` string, required — New Clerk org role (org:admin or org:member)

## Response `200`

Successful Response

- AppUserResponse
  - `user_id` string, required
  - `membership_id` string, required
  - `email` string, nullable
  - `name` string, nullable
  - `avatar_url` string, nullable
  - `role` string, required
  - `joined_at` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

## Changes

- **2026-08-09** `5d4c905106b4` — 1 info
  - the endpoint scheme security `BearerAuth` was added to the API

[Change history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/apps/:app_id/users/:user_id/role/patch.md)

---

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