The whole hunk
from line 48, old and new numbered
/
lines
from line 48
4848
4949 Geographic region for workspace data storage. Immutable after creation. Defaults to 'us' if omitted.
5050
51- `display_color: optional string or null`
52
53 Hex color code representing the Workspace in the Anthropic Console.
54
55 maxLength: 7, pattern: ^#[0-9A-Fa-f]{6}$
56
5157- `external_key_id: optional string or null`
5258
5359 ID of the customer-managed encryption key (CMEK) configuration to use for this
5460 Workspace. Setting this field requires CMEK to be enabled for your
5561 organization. When set, data stored for this Workspace is encrypted with the
56 referenced key. Create key configurations with the External Keys API. This
57 field is write-once: once a key is attached to a Workspace it cannot be
58 detached or replaced. To rotate key material, rotate the underlying key on
59 your cloud KMS; the `external_key_id` stays the same.
62 referenced key. Create key configurations with the External Keys API. On
63 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
64 single-Region key in the same AWS account and Region as the Workspace. On that
65 platform the key is validated against this Workspace when it is attached, so a
66 key-policy problem is reported as an error on this request. This field is write-once:
67 once a key is attached to a Workspace it cannot be detached or replaced. To
68 rotate key material, rotate the underlying key on your cloud KMS; the
69 `external_key_id` stays the same.
6070
6171- `tags: optional map[string] or null`
6272
from line 92
8292 customer-managed encryption key (CMEK) on AWS, reference this value in your
8393 KMS key-policy condition so the key is scoped to this compartment. On GCP and
8494 Azure, Anthropic enforces the compartment binding automatically; you do not
85 need to reference this value in your key configuration. See the CMEK integration guide for the
86 required key configuration, including the value used during key validation.
95 need to reference this value in your key configuration. See the CMEK
96 integration guide for the required key configuration; unless your organization
97 is on Claude Platform on AWS, it includes a separate value used during key
98 validation. On Claude Platform on AWS there is no separate validation value:
99 the key is validated against this Workspace's own value when it is attached, so
100 if your key policy uses the compartment condition, add this value to it before
101 attaching the key.
87102
88103 - `created_at: string`
89104
from line 135
120135 ID of the customer-managed encryption key (CMEK) configuration to use for this
121136 Workspace. Setting this field requires CMEK to be enabled for your
122137 organization. When set, data stored for this Workspace is encrypted with the
123 referenced key. Create key configurations with the External Keys API. This
124 field is write-once: once a key is attached to a Workspace it cannot be
125 detached or replaced. To rotate key material, rotate the underlying key on
126 your cloud KMS; the `external_key_id` stays the same.
138 referenced key. Create key configurations with the External Keys API. On
139 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
140 single-Region key in the same AWS account and Region as the Workspace. On that
141 platform the key is validated against this Workspace when it is attached, so a
142 key-policy problem is reported as an error on this request. This field is write-once:
143 once a key is attached to a Workspace it cannot be detached or replaced. To
144 rotate key material, rotate the underlying key on your cloud KMS; the
145 `external_key_id` stays the same.
127146
128147 - `name: string`
129148
from line 166
147166curl https://api.anthropic.com/v1/organizations/workspaces \
148167 -H 'Content-Type: application/json' \
149168 -H 'anthropic-version: 2023-06-01' \
150 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
169 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
151170 -d '{
152171 "name": "x",
172 "display_color": "#6C5BB9",
153173 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
154174 "tags": {
155175 "env": "prod",