Update Workspace Member changedapi/beta/organization/workspaces/members/update
Nearest release: v2.1.247, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+88added
Lines−0removed
From line
—
no hunk to open at
First seen
26 Aug 2026
this site's first read of the page
Recorded edits5to this page, all time
# Update Workspace Member ## Path parameters ## Body parameters ## Returns ## Example ### Response (200)
The whole hunk
88 lines, new page
/
lines
A whole new page. There's nothing to diff it against, so here is what it says.
# Update Workspace Member
**POST** `/v1/organizations/workspaces/{workspace_id}/members/{user_id}`
Update Workspace Member
## Path parameters
- `workspace_id: string`
ID of the Workspace.
- `user_id: string`
ID of the User.
## Body parameters
- `workspace_role: BetaWorkspaceRole`
New workspace role for the User.
- `"workspace_admin"`
- `"workspace_billing"`
- `"workspace_developer"`
- `"workspace_restricted_developer"`
- `"workspace_user"`
## Returns
- `BetaWorkspaceMember object`
- `type: "workspace_member"`
Object type.
For Workspace Members, this is always `"workspace_member"`.
default: workspace_member
- `user_id: string`
ID of the User.
- `workspace_id: string`
ID of the Workspace.
- `workspace_role: BetaWorkspaceRole`
Role of the Workspace Member.
- `"workspace_admin"`
- `"workspace_billing"`
- `"workspace_developer"`
- `"workspace_restricted_developer"`
- `"workspace_user"`
## Example
```bash
curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
-H 'Content-Type: application/json' \
-H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" \
-d '{
"workspace_role": "workspace_admin"
}'
```
### Response (200)
```json
{
"type": "workspace_member",
"user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
"workspace_role": "workspace_admin"
}
```
No line in this hunk matches that.