Organization changedapi/organization
Recorded here
Lines+84added
Lines−84removed
From line
17
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 17, old and new numbered
/
from line 17
1717
1818 The version of the Claude API you want to use.
1919
20 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
20 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
2121
2222### Returns
2323
from line 157
157157
158158 The version of the Claude API you want to use.
159159
160 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
160 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
161161
162162#### Returns
163163
from line 355
355355
356356 The version of the Claude API you want to use.
357357
358 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
358 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
359359
360360#### Returns
361361
from line 534
534534
535535 The version of the Claude API you want to use.
536536
537 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
537 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
538538
539539#### Body parameters
540540
from line 729
729729
730730 The version of the Claude API you want to use.
731731
732 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
732 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
733733
734734#### Body parameters
735735
from line 963
963963
964964 The version of the Claude API you want to use.
965965
966 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
966 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
967967
968968#### Returns
969969
from line 1120
11201120
11211121 The version of the Claude API you want to use.
11221122
1123 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1123 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
11241124
11251125#### Returns
11261126
from line 1278
12781278
12791279 The version of the Claude API you want to use.
12801280
1281 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1281 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
12821282
12831283#### Body parameters
12841284
from line 1502
15021502
15031503 The version of the Claude API you want to use.
15041504
1505 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1505 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
15061506
15071507#### Returns
15081508
from line 1557
15571557
15581558 The version of the Claude API you want to use.
15591559
1560 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1560 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
15611561
15621562#### Returns
15631563
from line 1602
16021602
16031603**POST** `/v1/organizations/federation_issuers`
16041604
1605**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
1605**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
16061606
16071607Register an OIDC issuer that Anthropic will trust for workload identity
16081608federation in your organization.
from line 1622
16221622
16231623 The version of the Claude API you want to use.
16241624
1625 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1625 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
16261626
16271627#### Body parameters
16281628
from line 1884
18841884
18851885**GET** `/v1/organizations/federation_issuers`
18861886
1887**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
1887**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
18881888
18891889List federation issuers in your organization.
18901890
from line 1914
19141914
19151915 The version of the Claude API you want to use.
19161916
1917 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1917 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
19181918
19191919#### Returns
19201920
from line 2101
21012101
21022102**GET** `/v1/organizations/federation_issuers/{federation_issuer_id}`
21032103
2104**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
2104**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
21052105
21062106Retrieve a federation issuer by its ID (`fdis_...`).
21072107
from line 2117
21172117
21182118 The version of the Claude API you want to use.
21192119
2120 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2120 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
21212121
21222122#### Returns
21232123
from line 2300
23002300
23012301**POST** `/v1/organizations/federation_issuers/{federation_issuer_id}`
23022302
2303**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
2303**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
23042304
23052305Partially update a federation issuer.
23062306
from line 2323
23232323
23242324 The version of the Claude API you want to use.
23252325
2326 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2326 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
23272327
23282328#### Body parameters
23292329
from line 2586
25862586
25872587**POST** `/v1/organizations/federation_issuers/{federation_issuer_id}/archive`
25882588
2589**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
2589**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
25902590
25912591Archive a federation issuer.
25922592
from line 2607
26072607
26082608 The version of the Claude API you want to use.
26092609
2610 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2610 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
26112611
26122612#### Returns
26132613
from line 2793
27932793
27942794**POST** `/v1/organizations/federation_rules`
27952795
2796**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
2796**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
27972797
27982798Create a federation rule owned by your organization.
27992799
from line 2817
28172817
28182818 The version of the Claude API you want to use.
28192819
2820 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2820 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
28212821
28222822#### Body parameters
28232823
from line 3099
30993099
31003100**GET** `/v1/organizations/federation_rules`
31013101
3102**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
3102**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
31033103
31043104List federation rules in your organization.
31053105
from line 3134
31343134
31353135 The version of the Claude API you want to use.
31363136
3137 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3137 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
31383138
31393139#### Returns
31403140
from line 3321
33213321
33223322**GET** `/v1/organizations/federation_rules/{federation_rule_id}`
33233323
3324**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
3324**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
33253325
33263326Retrieve a federation rule by its ID (`fdrl_...`).
33273327
from line 3337
33373337
33383338 The version of the Claude API you want to use.
33393339
3340 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3340 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
33413341
33423342#### Returns
33433343
from line 3526
35263526
35273527**POST** `/v1/organizations/federation_rules/{federation_rule_id}`
35283528
3529**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
3529**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
35303530
35313531Partially update a federation rule.
35323532
from line 3558
35583558
35593559 The version of the Claude API you want to use.
35603560
3561 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3561 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
35623562
35633563#### Body parameters
35643564
from line 3827
38273827
38283828**POST** `/v1/organizations/federation_rules/{federation_rule_id}/archive`
38293829
3830**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
3830**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
38313831
38323832Archive a federation rule.
38333833
from line 3851
38513851
38523852 The version of the Claude API you want to use.
38533853
3854 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3854 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
38553855
38563856#### Returns
38573857
from line 4043
40434043
40444044**POST** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
40454045
4046**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
4046**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
40474047
40484048Enable a federation rule for a workspace.
40494049
from line 4068
40684068
40694069 The version of the Claude API you want to use.
40704070
4071 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4071 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
40724072
40734073#### Body parameters
40744074
from line 4135
41354135
41364136**GET** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
41374137
4138**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
4138**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
41394139
41404140List workspaces where this federation rule is enabled.
41414141
from line 4169
41694169
41704170 The version of the Claude API you want to use.
41714171
4172 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4172 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
41734173
41744174#### Returns
41754175
from line 4235
42354235
42364236**DELETE** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces/{workspace_id}`
42374237
4238**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
4238**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
42394239
42404240Disable a federation rule for a workspace.
42414241
from line 4260
42604260
42614261 The version of the Claude API you want to use.
42624262
4263 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4263 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
42644264
42654265#### Returns
42664266
from line 4311
43114311
43124312 The version of the Claude API you want to use.
43134313
4314 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4314 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
43154315
43164316#### Body parameters
43174317
from line 4502
45024502
45034503 The version of the Claude API you want to use.
45044504
4505 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4505 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
45064506
45074507#### Returns
45084508
from line 4643
46434643
46444644 The version of the Claude API you want to use.
46454645
4646 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4646 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
46474647
46484648#### Returns
46494649
from line 4765
47654765
47664766 The version of the Claude API you want to use.
47674767
4768 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4768 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
47694769
47704770#### Returns
47714771
from line 4805
48054805
48064806**POST** `/v1/organizations/service_accounts`
48074807
4808**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
4808**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
48094809
48104810Create a service account.
48114811
from line 4823
48234823
48244824 The version of the Claude API you want to use.
48254825
4826 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4826 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
48274827
48284828#### Body parameters
48294829
from line 4944
49444944
49454945**GET** `/v1/organizations/service_accounts`
49464946
4947**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
4947**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
49484948
49494949List service accounts in the caller's organization.
49504950
from line 4976
49764976
49774977 The version of the Claude API you want to use.
49784978
4979 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
4979 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
49804980
49814981#### Returns
49824982
from line 5075
50755075
50765076**GET** `/v1/organizations/service_accounts/{service_account_id}`
50775077
5078**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5078**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
50795079
50805080Retrieve a service account by its ID (`svac_...`).
50815081
from line 5091
50915091
50925092 The version of the Claude API you want to use.
50935093
5094 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5094 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
50955095
50965096#### Returns
50975097
from line 5186
51865186
51875187**POST** `/v1/organizations/service_accounts/{service_account_id}`
51885188
5189**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5189**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
51905190
51915191Update a service account.
51925192
from line 5207
52075207
52085208 The version of the Claude API you want to use.
52095209
5210 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5210 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
52115211
52125212#### Body parameters
52135213
from line 5320
53205320
53215321**POST** `/v1/organizations/service_accounts/{service_account_id}/archive`
53225322
5323**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5323**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
53245324
53255325Archive a service account.
53265326
from line 5341
53415341
53425342 The version of the Claude API you want to use.
53435343
5344 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5344 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
53455345
53465346#### Returns
53475347
from line 5439
54395439
54405440**POST** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
54415441
5442**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5442**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
54435443
54445444Add a service account to a workspace with the given `workspace_role`.
54455445
from line 5462
54625462
54635463 The version of the Claude API you want to use.
54645464
5465 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5465 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
54665466
54675467#### Body parameters
54685468
from line 5550
55505550
55515551**GET** `/v1/organizations/service_accounts/{service_account_id}/workspaces`
55525552
5553**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5553**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
55545554
55555555List the workspaces a service account is a member of.
55565556
from line 5592
55925592
55935593 The version of the Claude API you want to use.
55945594
5595 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5595 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
55965596
55975597#### Returns
55985598
from line 5666
56665666
56675667**DELETE** `/v1/organizations/service_accounts/{service_account_id}/workspaces/{workspace_id}`
56685668
5669**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
5669**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
56705670
56715671Remove a service account from a workspace.
56725672
from line 5694
56945694
56955695 The version of the Claude API you want to use.
56965696
5697 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5697 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
56985698
56995699#### Returns
57005700
from line 5773
57735773
57745774 The version of the Claude API you want to use.
57755775
5776 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5776 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
57775777
57785778#### Returns
57795779
from line 5885
58855885
58865886 The version of the Claude API you want to use.
58875887
5888 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5888 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
58895889
58905890#### Returns
58915891
from line 5978
59785978
59795979 The version of the Claude API you want to use.
59805980
5981 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
5981 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
59825982
59835983#### Body parameters
59845984
from line 6093
60936093
60946094 The version of the Claude API you want to use.
60956095
6096 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6096 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
60976097
60986098#### Returns
60996099
from line 6171
61716171
61726172 The version of the Claude API you want to use.
61736173
6174 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6174 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
61756175
61766176#### Returns
61776177
from line 6332
63326332
63336333 The version of the Claude API you want to use.
63346334
6335 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6335 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
63366336
63376337#### Body parameters
63386338
from line 6550
65506550
65516551 The version of the Claude API you want to use.
65526552
6553 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6553 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
65546554
65556555#### Returns
65566556
from line 6696
66966696
66976697 The version of the Claude API you want to use.
66986698
6699 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6699 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
67006700
67016701#### Body parameters
67026702
from line 6907
69076907
69086908 The version of the Claude API you want to use.
69096909
6910 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
6910 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
69116911
69126912#### Returns
69136913
from line 7104
71047104
71057105 The version of the Claude API you want to use.
71067106
7107 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7107 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
71087108
71097109#### Returns
71107110
from line 7348
73487348
73497349 The version of the Claude API you want to use.
73507350
7351 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7351 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
73527352
73537353#### Returns
73547354
from line 7440
74407440
74417441 The version of the Claude API you want to use.
74427442
7443 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7443 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
74447444
74457445#### Body parameters
74467446
from line 7540
75407540
75417541 The version of the Claude API you want to use.
75427542
7543 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7543 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
75447544
75457545#### Returns
75467546
from line 7617
76177617
76187618 The version of the Claude API you want to use.
76197619
7620 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7620 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
76217621
76227622#### Body parameters
76237623
from line 7714
77147714
77157715 The version of the Claude API you want to use.
77167716
7717 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7717 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
77187718
77197719#### Returns
77207720
from line 7759
77597759
77607760**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
77617761
7762**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
7762**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
77637763
77647764List the service accounts that are members of a workspace.
77657765
from line 7794
77947794
77957795 The version of the Claude API you want to use.
77967796
7797 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7797 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
77987798
77997799#### Returns
78007800
from line 7868
78687868
78697869**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
78707870
7871**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
7871**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
78727872
78737873Add a service account to a workspace with the given `workspace_role`.
78747874
from line 7893
78937893
78947894 The version of the Claude API you want to use.
78957895
7896 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
7896 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
78977897
78987898#### Body parameters
78997899
from line 7981
79817981
79827982**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
79837983
7984**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
7984**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
79857985
79867986Retrieve a service account's membership in a workspace.
79877987
from line 8008
80088008
80098009 The version of the Claude API you want to use.
80108010
8011 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8011 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
80128012
80138013#### Returns
80148014
from line 8073
80738073
80748074**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
80758075
8076**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
8076**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
80778077
80788078Change a service account's role in a workspace.
80798079
from line 8100
81008100
81018101 The version of the Claude API you want to use.
81028102
8103 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8103 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
81048104
81058105#### Body parameters
81068106
from line 8183
81838183
81848184**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
81858185
8186**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
8186**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api?sdk_languages=http).
81878187
81888188Remove a service account from a workspace.
81898189
from line 8209
82098209
82108210 The version of the Claude API you want to use.
82118211
8212 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8212 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
82138213
82148214#### Returns
82158215
from line 8300
83008300
83018301 The version of the Claude API you want to use.
83028302
8303 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8303 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
83048304
83058305#### Returns
83068306
from line 8492
84928492
84938493 The version of the Claude API you want to use.
84948494
8495 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8495 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
84968496
84978497#### Returns
84988498
from line 8562
85628562
85638563 The version of the Claude API you want to use.
85648564
8565 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
8565 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
85668566
85678567#### Body parameters
85688568
No line in this hunk matches that.