Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Create Service Account Workspace Member changedapi/admin/workspaces/service_accounts/create

Nearest release: v2.1.245, published an hour after 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+10added
Lines−15removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

# Create Service Account Workspace Member ## Path parameters ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Create Service Account Workspace Member ### Path Parameters ### Header Parameters ### Body Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Create Service Account Workspace Member
3url: https://platform.claude.com/docs/en/api/admin/workspaces/service_accounts/create
4---
1# Create Service Account Workspace Member
52 
6## Create Service Account Workspace Member
3**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
74 
8**post** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
9 
105Add a service account to a workspace with the given `workspace_role`.
116 
127The role determines what the service account can do in the workspace and
from line 14
1914accounts cannot be added and are rejected. Requires an OAuth bearer or
2015Console session; Admin API keys are not accepted.
2116 
22### Path Parameters
17## Path parameters
2318 
2419- `workspace_id: string`
2520 
2621 ID of the workspace.
2722 
28### Header Parameters
23## Headers
2924 
3025- `"anthropic-beta": optional array of string`
3126 
from line 28
3328 
3429 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
3530 
36### Body Parameters
31## Body parameters
3732 
3833- `service_account_id: string`
3934 
from line 46
5146 
5247 - `"workspace_user"`
5348 
54### Returns
49## Returns
5550 
5651- `created_by_actor_id: string or null`
5752 
from line 62
6762 
6863- `type: "service_account_workspace_member"`
6964 
70 - `"service_account_workspace_member"`
65 default: service_account_workspace_member
7166 
7267- `workspace_id: string`
7368 
from line 82
8782 
8883 - `"workspace_user"`
8984 
90### Example
85## Example
9186 
92```http
87```bash
9388curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
9489 -H 'Content-Type: application/json' \
9590 -H 'anthropic-version: 2023-06-01' \
from line 95
10095 }'
10196```
10297 
103#### Response
98### Response (200)
10499 
105100```json
106101{
Feedback