Create Workspace
post/v1/organizations/workspaces?beta=true
Headers
anthropic-betastring
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
Request body
Example request
{
"display_color": "#6C5BB9",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"tags": {
"env": "prod",
"team": "platform"
}
}Response
Successful Response
Example response
{
"archived_at": "2024-11-01T23:59:27.427722Z",
"compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_color": "#6C5BB9",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
"name": "Workspace Name",
"tags": {
"env": "prod",
"team": "platform"
}
}Changes
Changed in 1 of the 68 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○