---
title: "Change"
method: PATCH
path: "/workspaces/{wid}/members/{target}"
---

# Change

`PATCH /workspaces/{wid}/members/{target}`

## Request

- Base URL: `https://app.linerecon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.linerecon.com/workspaces/{wid}/members/{target}`
- Auth: none declared

## Path parameters

- `wid` string, uuid, required
- `target` string, uuid, required

## Request body

- ChangeRole
  - `base_revision` integer, required
  - `role` 'admin' | 'member', required

## Response `200`

Successful Response

- Member
  - `user_id` string, uuid, required
  - `role` 'admin' | 'member', required
  - `revision` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `413`: Content Too Large
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `503`: Service Unavailable

---

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