---
title: "Change a member's role in a workspace"
method: PATCH
path: "/v2/workspaces/members"
tags: ["Workspaces"]
---

# Change a member's role in a workspace

`PATCH /v2/workspaces/members`

Changes the role of an existing workspace member. Allowed roles: `view`, `manager`, `maintain`, `admin`. The workspace owner cannot edit themselves.

Rate limited to 3 edits per 15 seconds per user.

## Request body

- object
  - `workspaceId` string, required
  - `memberId` string, required
  - `group` 'view' | 'manager' | 'maintain' | 'admin', required

## Response `200`

Member role updated.

- object
  - `status` 'success', required

## Other responses

- `400` — The `workspaceId` is missing, the member does not belong to the workspace, the role is invalid, or the caller tried to edit themselves.
- `401` — The Authorization header is missing, malformed, or the credentials are not valid.
- `403` — The API key does not cover every application in the workspace, or does not hold the scopes the requested role would grant.
- `404` — The workspace does not exist.
- `413` — The request body is larger than the maximum allowed size (100MB).
- `429` — The endpoint enforces its own rate limit and the caller hit the cooldown.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
