This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 65
6565
6666- `ConcurrentMembershipChangeErrorDetails object`
6767
68 - `error_code: "concurrent_membership_change"`
69
70### Org Member Limit Exceeded Error Details
71
72- `OrgMemberLimitExceededErrorDetails object`
73
74 - `error_code: "org_member_limit_exceeded"`
75
76### Organization Info
77
78- `OrganizationInfo object`
79
80 - `type: "organization"`
81
82 Object type.
83
84 For Organizations, this is always `"organization"`.
85
86 default: organization
87
88 - `id: string`
89
90 ID of the Organization.
91
92 format: uuid
93
94 - `name: string`
95
96 Name of the Organization.
97
98### Organization Role
99
100- `OrganizationRole = "admin" or "billing" or "claude_code_user" or 6 more`
101
102 - `"admin"`
103
104 - `"billing"`
105
106 - `"claude_code_user"`
107
108 - `"developer"`
109
110 - `"managed"`
111
112 - `"membership_admin"`
113
114 - `"owner"`
115
116 - `"primary_owner"`
117
118 - `"user"`
119
120### RBAC Role Not Found Error Details
121
122- `RBACRoleNotFoundErrorDetails object`
123
124 - `error_code: "rbac_role_not_found"`
125
126## Errors
127
128### org_member_limit_exceeded
129
130HTTP status 400
131
132- `"org_member_limit_exceeded"`
133
134 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
135
136 - `details: OrgMemberLimitExceededErrorDetails`
137
138 - `error_code: "org_member_limit_exceeded"`
139
140### rbac_role_not_found
141
142HTTP status 404
143
144- `"rbac_role_not_found"`
145
146 No RBAC Role with this ID was found.
147
148 - `details: RBACRoleNotFoundErrorDetails`
149
150 - `error_code: "rbac_role_not_found"`
151
152### concurrent_membership_change
153
154HTTP status 409
155
156- `"concurrent_membership_change"`
157
68158 Another change to the organization's members is in progress. Retry the request once it completes.
69159
70 - `error_code: "concurrent_membership_change"`
71
72### Org Member Limit Exceeded Error Details
73
74- `OrgMemberLimitExceededErrorDetails object`
75
76 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
77
78 - `error_code: "org_member_limit_exceeded"`
79
80### Organization Info
81
82- `OrganizationInfo object`
83
84 - `type: "organization"`
85
86 Object type.
87
88 For Organizations, this is always `"organization"`.
89
90 default: organization
91
92 - `id: string`
93
94 ID of the Organization.
95
96 format: uuid
97
98 - `name: string`
99
100 Name of the Organization.
101
102### Organization Role
103
104- `OrganizationRole = "admin" or "billing" or "claude_code_user" or 6 more`
105
106 - `"admin"`
107
108 - `"billing"`
109
110 - `"claude_code_user"`
111
112 - `"developer"`
113
114 - `"managed"`
115
116 - `"membership_admin"`
117
118 - `"owner"`
119
120 - `"primary_owner"`
121
122 - `"user"`
123
124### RBAC Role Not Found Error Details
125
126- `RBACRoleNotFoundErrorDetails object`
127
128 No RBAC Role with this ID was found.
129
130 - `error_code: "rbac_role_not_found"`
160 - `details: ConcurrentMembershipChangeErrorDetails`
161
162 - `error_code: "concurrent_membership_change"`
131163
132164## Organization › API Keys
133165
from line 714
682714
683715 - `"inactive"`
684716
717#### Errors
718
719Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
720
721Each code below is the value of `error.details.error_code` in the response body.
722
723- `org_api_key_limit_exceeded` (HTTP status 400)
724
725 The organization has reached its limit of active API keys.
726
727- `workspace_api_key_limit_exceeded` (HTTP status 400)
728
729 The workspace has reached its limit of active API keys.
730
731- `sandbox_egress_restricted` (HTTP status 403)
732
733 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
734
685735#### Example
686736
687737```bash
from line 959
909959 - `user_profile_id: string or null`
910960
911961 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
962
963#### Errors
964
965Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
966
967Each code below is the value of `error.details.error_code` in the response body.
968
969- `user_profile_not_found` (HTTP status 400)
970
971 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
972
973- `sandbox_egress_restricted` (HTTP status 403)
974
975 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
912976
913977#### Example
914978
from line 1539
14751539
14761540 ID of the user profile the key is bound to, or null if the key is not bound to one. A key bound to a user profile can only be attached to a Workspace that has the same user profile. A key that isn't bound can only be attached to a Workspace that has no user profile.
14771541
1542#### Errors
1543
1544Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1545
1546Each code below is the value of `error.details.error_code` in the response body.
1547
1548- `external_key_in_workspace_policy` (HTTP status 400)
1549
1550 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
1551
1552- `sandbox_egress_restricted` (HTTP status 403)
1553
1554 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1555
14781556#### Example
14791557
14801558```bash
from line 1620
15421620
15431621 ID of the deleted External Key.
15441622
1623#### Errors
1624
1625Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1626
1627Each code below is the value of `error.details.error_code` in the response body.
1628
1629- `external_key_in_workspace_policy` (HTTP status 400)
1630
1631 The External Key can't be deleted or reconfigured while the organization's Workspace Policy lists it as an allowed key.
1632
1633- `sandbox_egress_restricted` (HTTP status 403)
1634
1635 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1636
15451637#### Example
15461638
15471639```bash
from line 1696
16041696 - `"failure"`
16051697
16061698 - `"success"`
1699
1700#### Errors
1701
1702Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1703
1704Each code below is the value of `error.details.error_code` in the response body.
1705
1706- `sandbox_egress_restricted` (HTTP status 403)
1707
1708 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
16071709
16081710#### Example
16091711
from line 1966
18641966 - `updated_by_actor_id: string or null`
18651967
18661968 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
1969
1970#### Errors
1971
1972Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1973
1974Each code below is the value of `error.details.error_code` in the response body.
1975
1976- `sandbox_egress_restricted` (HTTP status 403)
1977
1978 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
18671979
18681980#### Example
18691981
from line 2682
25702682
25712683 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
25722684
2685#### Errors
2686
2687Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2688
2689Each code below is the value of `error.details.error_code` in the response body.
2690
2691- `sandbox_egress_restricted` (HTTP status 403)
2692
2693 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
2694
25732695#### Example
25742696
25752697```bash
from line 2898
27762898
27772899 Tagged ID (`user_`/`svac_`) of the actor that last updated this issuer.
27782900
2901#### Errors
2902
2903Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2904
2905Each code below is the value of `error.details.error_code` in the response body.
2906
2907- `sandbox_egress_restricted` (HTTP status 403)
2908
2909 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
2910
27792911#### Example
27802912
27812913```bash
from line 3193
30613193 - `workspace_ids: array of string`
30623194
30633195 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
3196
3197#### Errors
3198
3199Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3200
3201Each code below is the value of `error.details.error_code` in the response body.
3202
3203- `sandbox_egress_restricted` (HTTP status 403)
3204
3205 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
30643206
30653207#### Example
30663208
from line 3941
37993941
38003942 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
38013943
3944#### Errors
3945
3946Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3947
3948Each code below is the value of `error.details.error_code` in the response body.
3949
3950- `sandbox_egress_restricted` (HTTP status 403)
3951
3952 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
3953
38023954#### Example
38033955
38043956```bash
from line 4166
40144166
40154167 Tagged IDs of the workspaces this rule is enabled for. May be empty for older rules that only carry the legacy `workspace_id` binding. Ignored at exchange time when `applies_to_all_workspaces` is true (the list may still be non-empty).
40164168
4169#### Errors
4170
4171Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4172
4173Each code below is the value of `error.details.error_code` in the response body.
4174
4175- `sandbox_egress_restricted` (HTTP status 403)
4176
4177 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
4178
40174179#### Example
40184180
40194181```bash
from line 4296
41344296
41354297 Workspace display name. Populated when listing; null in the enable response.
41364298
4299#### Errors
4300
4301Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4302
4303Each code below is the value of `error.details.error_code` in the response body.
4304
4305- `sandbox_egress_restricted` (HTTP status 403)
4306
4307 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
4308
41374309#### Example
41384310
41394311```bash
from line 4476
43044476
43054477 Tagged ID of the workspace named in the delete request. Removal is idempotent.
43064478
4479#### Errors
4480
4481Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4482
4483Each code below is the value of `error.details.error_code` in the response body.
4484
4485- `sandbox_egress_restricted` (HTTP status 403)
4486
4487 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
4488
43074489#### Example
43084490
43094491```bash
from line 4628
44464628 - `"expired"`
44474629
44484630 - `"pending"`
4631
4632#### Errors
4633
4634Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4635
4636Each code below is the value of `error.details.error_code` in the response body.
4637
4638- `already_member` (HTTP status 400)
4639
4640 The email address already belongs to a user in the organization. The message names the user.
4641
4642- `cannot_invite_emails_with_unverified_domains` (HTTP status 400)
4643
4644 The email address's domain is not one of the verified domains of the organization's parent organization.
4645
4646- `email_domain_not_allowed` (HTTP status 400)
4647
4648 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
4649
4650- `invite_already_exists` (HTTP status 400)
4651
4652 A pending invite already exists for the email address. The message names the invite.
4653
4654- `org_member_limit_exceeded` (HTTP status 400)
4655
4656 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
4657
4658- `rbac_group_grants_owner_access` (HTTP status 400)
4659
4660 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
4661
4662- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
4663
4664 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
4665
4666- `sandbox_egress_restricted` (HTTP status 403)
4667
4668 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
44494669
44504670#### Example
44514671
from line 5029
48095029
48105030 ID of the Invite.
48115031
5032#### Errors
5033
5034Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5035
5036Each code below is the value of `error.details.error_code` in the response body.
5037
5038- `sandbox_egress_restricted` (HTTP status 403)
5039
5040 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
5041
48125042#### Example
48135043
48145044```bash
from line 5167
49375167 - `updated_by_actor_id: string or null`
49385168
49395169 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
5170
5171#### Errors
5172
5173Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5174
5175Each code below is the value of `error.details.error_code` in the response body.
5176
5177- `sandbox_egress_restricted` (HTTP status 403)
5178
5179 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
49405180
49415181#### Example
49425182
from line 5556
53165556
53175557 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
53185558
5559#### Errors
5560
5561Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5562
5563Each code below is the value of `error.details.error_code` in the response body.
5564
5565- `sandbox_egress_restricted` (HTTP status 403)
5566
5567 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
5568
53195569#### Example
53205570
53215571```bash
from line 5684
54345684
54355685 Tagged ID (`user_`/`svac_`) of the actor that last updated this service account.
54365686
5687#### Errors
5688
5689Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5690
5691Each code below is the value of `error.details.error_code` in the response body.
5692
5693- `sandbox_egress_restricted` (HTTP status 403)
5694
5695 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
5696
54375697#### Example
54385698
54395699```bash
from line 5808
55485808
55495809 - `"workspace_user"`
55505810
5811#### Errors
5812
5813Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5814
5815Each code below is the value of `error.details.error_code` in the response body.
5816
5817- `sandbox_egress_restricted` (HTTP status 403)
5818
5819 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
5820
55515821#### Example
55525822
55535823```bash
from line 6007
57376007- `workspace_id: string`
57386008
57396009 Tagged workspace ID (`wrkspc_...`) named in the delete request.
6010
6011#### Errors
6012
6013Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
6014
6015Each code below is the value of `error.details.error_code` in the response body.
6016
6017- `sandbox_egress_restricted` (HTTP status 403)
6018
6019 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
57406020
57416021#### Example
57426022
from line 6358
60786358
60796359 - `"user"`
60806360
6361#### Errors
6362
6363Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
6364
6365Each code below is the value of `error.details.error_code` in the response body.
6366
6367- `sandbox_egress_restricted` (HTTP status 403)
6368
6369 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
6370
60816371#### Example
60826372
60836373```bash
from line 6426
61366426- `id: string`
61376427
61386428 ID of the User.
6429
6430#### Errors
6431
6432Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
6433
6434Each code below is the value of `error.details.error_code` in the response body.
6435
6436- `cannot_remove_last_member` (HTTP status 400)
6437
6438 The user is the organization's only member. Add another member before removing this one.
6439
6440- `sandbox_egress_restricted` (HTTP status 403)
6441
6442 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
6443
6444- `concurrent_membership_change` (HTTP status 409)
6445
6446 Another change to the organization's members is in progress. Retry the request once it completes.
61396447
61406448#### Example
61416449
from line 6843
65356843
65366844 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
65376845
6846#### Errors
6847
6848Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
6849
6850Each code below is the value of `error.details.error_code` in the response body.
6851
6852- `external_key_validation_failed` (HTTP status 400)
6853
6854 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
6855
6856- `external_key_validation_timed_out` (HTTP status 400)
6857
6858 Anthropic's validation of the External Key did not finish in time, so the request was refused. Wait a moment, then send the request again.
6859
6860- `key_profile_mismatch` (HTTP status 400)
6861
6862 After this request, the External Key and the Workspace would not have the same user profile. A key and its Workspace must have the same user profile, or both have none.
6863
6864- `user_profile_not_found` (HTTP status 400)
6865
6866 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
6867
6868- `workspace_policy_violation` (HTTP status 400)
6869
6870 The request breaks the organization's Workspace Policy. The message says which rule it broke; an organization admin can see and change the policy in the Console.
6871
6872- `sandbox_egress_restricted` (HTTP status 403)
6873
6874 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
6875
6876- `external_key_changed` (HTTP status 409)
6877
6878 The external key changed while the request was validating it. Send the request again.
6879
65386880#### Example
65396881
65406882```bash
from line 7252
69107252
69117253 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
69127254
7255#### Errors
7256
7257Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
7258
7259Each code below is the value of `error.details.error_code` in the response body.
7260
7261- `external_key_validation_failed` (HTTP status 400)
7262
7263 The External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
7264
7265- `external_key_validation_timed_out` (HTTP status 400)
7266
7267 Anthropic's validation of the External Key did not finish in time, so the request was refused. Wait a moment, then send the request again.
7268
7269- `key_profile_mismatch` (HTTP status 400)
7270
7271 After this request, the External Key and the Workspace would not have the same user profile. A key and its Workspace must have the same user profile, or both have none.
7272
7273- `user_profile_not_found` (HTTP status 400)
7274
7275 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
7276
7277- `workspace_policy_violation` (HTTP status 400)
7278
7279 The request breaks the organization's Workspace Policy. The message says which rule it broke; an organization admin can see and change the policy in the Console.
7280
7281- `sandbox_egress_restricted` (HTTP status 403)
7282
7283 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
7284
7285- `external_key_changed` (HTTP status 409)
7286
7287 The external key changed while the request was validating it. Send the request again.
7288
69137289#### Example
69147290
69157291```bash
from line 7447
70717447 - `user_profile_id: string or null`
70727448
70737449 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
7450
7451#### Errors
7452
7453Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
7454
7455Each code below is the value of `error.details.error_code` in the response body.
7456
7457- `sandbox_egress_restricted` (HTTP status 403)
7458
7459 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
70747460
70757461#### Example
70767462
from line 7953
75677953
75687954 ID of the Workspace this entry applies to.
75697955
7956#### Errors
7957
7958Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
7959
7960Each code below is the value of `error.details.error_code` in the response body.
7961
7962- `sandbox_egress_restricted` (HTTP status 403)
7963
7964 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
7965
75707966#### Example
75717967
75727968```bash
from line 8192
77968192
77978193 - `"workspace_user"`
77988194
8195#### Errors
8196
8197Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8198
8199Each code below is the value of `error.details.error_code` in the response body.
8200
8201- `workspace_member_limit_exceeded` (HTTP status 400)
8202
8203 The workspace has reached the member limit that Anthropic set for it.
8204
8205- `sandbox_egress_restricted` (HTTP status 403)
8206
8207 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
8208
77998209#### Example
78008210
78018211```bash
from line 8381
79718381
79728382 - `"workspace_user"`
79738383
8384#### Errors
8385
8386Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8387
8388Each code below is the value of `error.details.error_code` in the response body.
8389
8390- `workspace_member_limit_exceeded` (HTTP status 400)
8391
8392 The workspace has reached the member limit that Anthropic set for it.
8393
8394- `sandbox_egress_restricted` (HTTP status 403)
8395
8396 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
8397
79748398#### Example
79758399
79768400```bash
from line 8459
80358459- `workspace_id: string`
80368460
80378461 ID of the Workspace.
8462
8463#### Errors
8464
8465Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8466
8467Each code below is the value of `error.details.error_code` in the response body.
8468
8469- `sandbox_egress_restricted` (HTTP status 403)
8470
8471 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
80388472
80398473#### Example
80408474
from line 8687
82538687
82548688 - `"workspace_user"`
82558689
8690#### Errors
8691
8692Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8693
8694Each code below is the value of `error.details.error_code` in the response body.
8695
8696- `sandbox_egress_restricted` (HTTP status 403)
8697
8698 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
8699
82568700#### Example
82578701
82588702```bash
from line 8900
84568900
84578901 - `"workspace_user"`
84588902
8903#### Errors
8904
8905Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8906
8907Each code below is the value of `error.details.error_code` in the response body.
8908
8909- `sandbox_egress_restricted` (HTTP status 403)
8910
8911 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
8912
84598913#### Example
84608914
84618915```bash
from line 8980
85268980- `workspace_id: string`
85278981
85288982 Tagged workspace ID (`wrkspc_...`) named in the delete request.
8983
8984#### Errors
8985
8986Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
8987
8988Each code below is the value of `error.details.error_code` in the response body.
8989
8990- `sandbox_egress_restricted` (HTTP status 403)
8991
8992 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
85298993
85308994#### Example
85318995
from line 9351
88879351 - `type: "disabled"`
88889352
88899353 default: disabled
9354
9355#### Errors
9356
9357Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
9358
9359Each code below is the value of `error.details.error_code` in the response body.
9360
9361- `sandbox_egress_restricted` (HTTP status 403)
9362
9363 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
88909364
88919365#### Example
88929366
from line 11658
1118411658
1118511659- `next_page: string or null`
1118611660
11661#### Errors
11662
11663Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
11664
11665Each code below is the value of `error.details.error_code` in the response body.
11666
11667- `organization_type_not_supported` (HTTP status 400)
11668
11669 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
11670
1118711671#### Example
1118811672
1118911673```bash
from line 12681
1219712681 - `"denied"`
1219812682
1219912683 - `"pending"`
12684
12685#### Errors
12686
12687Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
12688
12689Each code below is the value of `error.details.error_code` in the response body.
12690
12691- `sandbox_egress_restricted` (HTTP status 403)
12692
12693 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1220012694
1220112695#### Example
1220212696
from line 13021
1252713021
1252813022 - `"pending"`
1252913023
13024#### Errors
13025
13026Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13027
13028Each code below is the value of `error.details.error_code` in the response body.
13029
13030- `sandbox_egress_restricted` (HTTP status 403)
13031
13032 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13033
1253013034#### Example
1253113035
1253213036```bash
from line 13160
1265613160
1265713161 format: date-time
1265813162
13163#### Errors
13164
13165Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13166
13167Each code below is the value of `error.details.error_code` in the response body.
13168
13169- `sandbox_egress_restricted` (HTTP status 403)
13170
13171 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13172
1265913173#### Example
1266013174
1266113175```bash
from line 13474
1296013474
1296113475 format: date-time
1296213476
13477#### Errors
13478
13479Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13480
13481Each code below is the value of `error.details.error_code` in the response body.
13482
13483- `sandbox_egress_restricted` (HTTP status 403)
13484
13485 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13486
1296313487#### Example
1296413488
1296513489```bash
from line 13549
1302513549 - `id: string`
1302613550
1302713551 ID of the RBAC Group.
13552
13553#### Errors
13554
13555Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13556
13557Each code below is the value of `error.details.error_code` in the response body.
13558
13559- `rbac_group_grants_owner_access` (HTTP status 400)
13560
13561 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
13562
13563- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
13564
13565 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
13566
13567- `sandbox_egress_restricted` (HTTP status 403)
13568
13569 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
1302813570
1302913571#### Example
1303013572
from line 13746
1320413746
1320513747 ID of the User.
1320613748
13749#### Errors
13750
13751Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13752
13753Each code below is the value of `error.details.error_code` in the response body.
13754
13755- `rbac_group_grants_owner_access` (HTTP status 400)
13756
13757 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
13758
13759- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
13760
13761 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
13762
13763- `sandbox_egress_restricted` (HTTP status 403)
13764
13765 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13766
1320713767#### Example
1320813768
1320913769```bash
from line 13832
1327213832
1327313833 ID of the User.
1327413834
13835#### Errors
13836
13837Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13838
13839Each code below is the value of `error.details.error_code` in the response body.
13840
13841- `rbac_group_grants_owner_access` (HTTP status 400)
13842
13843 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
13844
13845- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
13846
13847 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
13848
13849- `sandbox_egress_restricted` (HTTP status 403)
13850
13851 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
13852
1327513853#### Example
1327613854
1327713855```bash
from line 13961
1338313961
1338413962 Opaque cursor for the next page. Pass as the `page` parameter on the next
1338513963 request.
13964
13965#### Errors
13966
13967Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
13968
13969Each code below is the value of `error.details.error_code` in the response body.
13970
13971- `organization_type_not_supported` (HTTP status 400)
13972
13973 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
13974
13975- `parent_organization_required` (HTTP status 400)
13976
13977 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
1338613978
1338713979#### Example
1338813980
from line 14079
1348714079
1348814080 format: date-time
1348914081
14082#### Errors
14083
14084Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
14085
14086Each code below is the value of `error.details.error_code` in the response body.
14087
14088- `organization_type_not_supported` (HTTP status 400)
14089
14090 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
14091
14092- `parent_organization_required` (HTTP status 400)
14093
14094 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
14095
14096- `rbac_role_not_found` (HTTP status 404)
14097
14098 No RBAC Role with this ID was found.
14099
1349014100#### Example
1349114101
1349214102```bash
from line 14281
1367114281 Opaque cursor for the next page. Pass as the `page` parameter on the next
1367214282 request.
1367314283
14284#### Errors
14285
14286Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
14287
14288Each code below is the value of `error.details.error_code` in the response body.
14289
14290- `organization_type_not_supported` (HTTP status 400)
14291
14292 The endpoint does not support the organization's type. Each endpoint's description says which organization types it supports.
14293
14294- `parent_organization_required` (HTTP status 400)
14295
14296 The endpoint serves only organizations that belong to a parent organization, and this organization belongs to none.
14297
14298- `rbac_role_not_found` (HTTP status 404)
14299
14300 No RBAC Role with this ID was found.
14301
1367414302#### Example
1367514303
1367614304```bash
1367714305
No line in this hunk matches that.