---
title: "Update a member role (owner only)"
method: PATCH
path: "/v1/clans/{clanId}/members/{userId}/role"
tags: ["clans"]
---

# Update a member role (owner only)

`PATCH /v1/clans/{clanId}/members/{userId}/role`

## Path parameters

- `clanId` string, uuid, required
- `userId` string, uuid, required

## Request body

- object
  - `role` 'admin' | 'member', required

## Response `200`

Successful response

- object
  - `success` boolean, required
  - `newRole` 'admin' | 'member', required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/versions/34b8f4885f8a/schema)
