Change a member's role
PATCH /api/v1/members/{user}
A workspace owner signed in to the app. API keys can't call it.
Parameters
| Name | Type | Description |
|---|---|---|
user requiredpath |
string | The user's id. |
Request body
JSON, sent with Content-Type: application/json.
| Name | Type | Description |
|---|---|---|
role required |
string | One of: owner editor viewer |