This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1730
17301730
17311731 - `"spend-limit-reads-2026-09-26"`
17321732
1733 - `"telemetry-destinations-2026-08-11"`
1734
17331735#### Body parameters
17341736
17351737- `issuer_url: string`
from line 2130
21282130
21292131 - `"spend-limit-reads-2026-09-26"`
21302132
2133 - `"telemetry-destinations-2026-08-11"`
2134
21312135#### Returns
21322136
21332137- `data: array of BetaFederationIssuer`
from line 2441
24372441
24382442 - `"spend-limit-reads-2026-09-26"`
24392443
2444 - `"telemetry-destinations-2026-08-11"`
2445
24402446#### Returns
24412447
24422448- `BetaFederationIssuer object`
from line 2755
27492755
27502756 - `"spend-limit-reads-2026-09-26"`
27512757
2758 - `"telemetry-destinations-2026-08-11"`
2759
27522760#### Body parameters
27532761
27542762- `check_jti: optional boolean or null`
from line 3147
31393147
31403148 - `"spend-limit-reads-2026-09-26"`
31413149
3150 - `"telemetry-destinations-2026-08-11"`
3151
31423152#### Returns
31433153
31443154- `BetaFederationIssuer object`
from line 3465
34553465
34563466 - `"spend-limit-reads-2026-09-26"`
34573467
3468 - `"telemetry-destinations-2026-08-11"`
3469
34583470#### Body parameters
34593471
34603472- `issuer_id: string`
from line 3890
38783890
38793891 - `"spend-limit-reads-2026-09-26"`
38803892
3893 - `"telemetry-destinations-2026-08-11"`
3894
38813895#### Returns
38823896
38833897- `data: array of BetaFederationRule`
from line 4201
41874201
41884202 - `"spend-limit-reads-2026-09-26"`
41894203
4204 - `"telemetry-destinations-2026-08-11"`
4205
41904206#### Returns
41914207
41924208- `BetaFederationRule object`
from line 4530
45144530
45154531 - `"spend-limit-reads-2026-09-26"`
45164532
4533 - `"telemetry-destinations-2026-08-11"`
4534
45174535#### Body parameters
45184536
45194537- `applies_to_all_workspaces: optional boolean or null`
from line 4931
49134931
49144932 - `"spend-limit-reads-2026-09-26"`
49154933
4934 - `"telemetry-destinations-2026-08-11"`
4935
49164936#### Returns
49174937
49184938- `BetaFederationRule object`
from line 5256
52365256
52375257 - `"spend-limit-reads-2026-09-26"`
52385258
5259 - `"telemetry-destinations-2026-08-11"`
5260
52395261#### Body parameters
52405262
52415263- `workspace_id: string`
from line 5465
54435465
54445466 - `"spend-limit-reads-2026-09-26"`
54455467
5468 - `"telemetry-destinations-2026-08-11"`
5469
54465470#### Returns
54475471
54485472- `data: array of BetaFederationRuleWorkspace`
from line 5664
56405664
56415665 - `"spend-limit-reads-2026-09-26"`
56425666
5667 - `"telemetry-destinations-2026-08-11"`
5668
56435669#### Returns
56445670
56455671- `type: "federation_rule_workspace_deleted"`
from line 5729
57035729
57045730 Role for the invited User.
57055731
5706 The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`.
5732 The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`; inviting with the `managed` role requires the `write:rbac_groups` scope in addition to `write:members`.
57075733
57085734 - `"billing"`
57095735
from line 6335
63096335
63106336 - `"spend-limit-reads-2026-09-26"`
63116337
6338 - `"telemetry-destinations-2026-08-11"`
6339
63126340#### Body parameters
63136341
63146342- `name: string`
from line 6596
65686596
65696597 - `"spend-limit-reads-2026-09-26"`
65706598
6599 - `"telemetry-destinations-2026-08-11"`
6600
65716601#### Returns
65726602
65736603- `data: array of BetaServiceAccount`
from line 6819
67896819
67906820 - `"spend-limit-reads-2026-09-26"`
67916821
6822 - `"telemetry-destinations-2026-08-11"`
6823
67926824#### Returns
67936825
67946826- `BetaServiceAccount object`
from line 7043
70117043
70127044 - `"spend-limit-reads-2026-09-26"`
70137045
7046 - `"telemetry-destinations-2026-08-11"`
7047
70147048#### Body parameters
70157049
70167050- `description: optional string or null`
from line 7285
72517285
72527286 - `"spend-limit-reads-2026-09-26"`
72537287
7288 - `"telemetry-destinations-2026-08-11"`
7289
72547290#### Returns
72557291
72567292- `BetaServiceAccount object`
from line 7514
74787514
74797515 - `"spend-limit-reads-2026-09-26"`
74807516
7517 - `"telemetry-destinations-2026-08-11"`
7518
74817519#### Body parameters
74827520
74837521- `workspace_id: string`
from line 7752
77147752
77157753 - `"spend-limit-reads-2026-09-26"`
77167754
7755 - `"telemetry-destinations-2026-08-11"`
7756
77177757#### Returns
77187758
77197759- `data: array of BetaServiceAccountWorkspaceMember`
from line 7962
79227962
79237963 - `"spend-limit-reads-2026-09-26"`
79247964
7965 - `"telemetry-destinations-2026-08-11"`
7966
79257967#### Returns
79267968
79277969- `type: "service_account_workspace_member_deleted"`
from line 8254
82128254
82138255 New role for the User.
82148256
8215 The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`.
8257 The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`; changing a User's role to `managed` requires the `write:rbac_groups` scope in addition to `write:members`.
82168258
82178259 - `"billing"`
82188260
from line 8708
86668708
86678709 - `"spend-limit-reads-2026-09-26"`
86688710
8711 - `"telemetry-destinations-2026-08-11"`
8712
86698713#### Body parameters
86708714
86718715- `name: string`
from line 10278
1023410278
1023510279 - `"spend-limit-reads-2026-09-26"`
1023610280
10281 - `"telemetry-destinations-2026-08-11"`
10282
1023710283#### Returns
1023810284
1023910285- `data: array of BetaServiceAccountWorkspaceMember`
from line 10485
1043910485
1044010486 - `"spend-limit-reads-2026-09-26"`
1044110487
10488 - `"telemetry-destinations-2026-08-11"`
10489
1044210490#### Body parameters
1044310491
1044410492- `service_account_id: string`
from line 10495
1044710495
1044810496- `workspace_role: BetaNoBillingWorkspaceRole`
1044910497
10450 Role to assign to the service account in this workspace.
10451
10452 - `"workspace_admin"`
10453
10454 - `"workspace_developer"`
10455
10456 - `"workspace_restricted_developer"`
10457
10458 - `"workspace_user"`
10459
10460#### Returns
10461
10462- `BetaServiceAccountWorkspaceMember object`
10463
10464 - `type: "service_account_workspace_member"`
10465
10466 default: service_account_workspace_member
10467
10468 - `created_by_actor_id: string or null`
10469
10470 Tagged ID (`user_...`/`svac_...`) of the actor who created this membership.
10471
10472 - `implicit: boolean or null`
10473
10474 True when this is the implicit default-workspace membership every service account has when no explicit membership exists. Implicit memberships have role `workspace_user` and cannot be removed.
10475
10476 - `service_account_id: string`
10477
10478 Tagged service account ID (`svac_...`).
10479
10480 - `workspace_id: string`
10481
10482 Tagged workspace ID (`wrkspc_...`).
10483
10484 - `workspace_role: BetaWorkspaceRole`
10485
10486 Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role.
10487
10488 - `"workspace_admin"`
10489
10490 - `"workspace_billing"`
10491
10492 - `"workspace_developer"`
10493
10494 - `"workspace_restricted_developer"`
10495
10496 - `"workspace_user"`
10497
10498#### Example
10499
10500```bash
10501curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
10502 -H 'Content-Type: a
10498 Role to assign to the service accou
No line in this hunk matches that.