---
title: "Update Member Role"
method: PATCH
path: "/workspaces/{workspace_id}/members/{target_user_id}"
tags: ["users"]
---

# Update Member Role

`PATCH /workspaces/{workspace_id}/members/{target_user_id}`

Change a member's role (owner only).

## Path parameters

- `workspace_id` string, required
- `target_user_id` string, required

## Request body

- UpdateMemberRoleRequest
  - `role` 'owner' | 'editor' | 'viewer' | 'commenter', required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.dev/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/revisions/28bdface01df/schema)
