---
title: "Update Workspace Member Endpoint"
method: PATCH
path: "/v1/workspaces/members/{user_id}"
tags: ["workspaces"]
---

# Update Workspace Member Endpoint

`PATCH /v1/workspaces/members/{user_id}`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/workspaces/members/{user_id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Path parameters

- `user_id` string, required

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- MembershipRoleUpdate
  - `role` 'owner' | 'admin' | 'approver' | 'viewer', required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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