Create Service Account changedapi/admin/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+20added
Lines−15removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to this page, all time
# Create Service Account ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Create Service Account ### Header Parameters ### Body Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Create Service Account
3url: https://platform.claude.com/docs/en/api/admin/service_accounts/create
4---
1# Create Service Account
52
6## Create Service Account
3**POST** `/v1/organizations/service_accounts`
74
8**post** `/v1/organizations/service_accounts`
9
105Create a service account.
116
127A service account is a named workload identity that federation rules
from line 13
1813an interactive credential (a user OAuth token or a Console session) — a
1914workload may only create `developer`-role service accounts.
2015
21### Header Parameters
16## Headers
2217
2318- `"anthropic-beta": optional array of string`
2419
from line 21
2621
2722 To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.
2823
29### Body Parameters
24## Body parameters
3025
3126- `name: string`
3227
3328 Slug identifier (lowercase, digits, hyphens). Unique within the organization; a duplicate name returns 409.
3429
30 maxLength: 255, minLength: 1
31
3532- `description: optional string or null`
3633
3734 Optional free-text description.
3835
36 maxLength: 2000
37
3938- `organization_role: optional "admin" or "developer"`
4039
4140 Org-level role. Defaults to `developer`.
from line 43
4443
4544 - `"developer"`
4645
47### Returns
46## Returns
4847
49- `ServiceAccount object { id, archived_at, archived_by_actor_id, 8 more }`
48- `ServiceAccount object`
5049
5150 Named non-human identity within the caller's organization.
5251
from line 60
6160
6261 If set, this service account is archived.
6362
63 format: date-time
64
6465 - `archived_by_actor_id: string or null`
6566
6667 Tagged ID (`user_`/`svac_`) of the actor that archived this service account.
from line 70
6970
7071 When this service account was created.
7172
73 format: date-time
74
7275 - `created_by_actor_id: string or null`
7376
7477 Tagged ID (`user_`/`svac_`) of the actor that created this service account.
from line 94
9194
9295 - `type: "service_account"`
9396
94 - `"service_account"`
97 default: service_account
9598
9699 - `updated_at: string`
97100
98101 When this service account was last updated.
99102
103 format: date-time
104
100105 - `updated_by_actor_id: string or null`
101106
102107 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
103108
104### Example
109## Example
105110
106```http
111```bash
107112curl https://api.anthropic.com/v1/organizations/service_accounts \
108113 -H 'Content-Type: application/json' \
109114 -H 'anthropic-version: 2023-06-01' \
from line 118
113118 }'
114119```
115120
116#### Response
121### Response (200)
117122
118123```json
119124{
No line in this hunk matches that.