Account

Create a workspace under the authenticated identity

post

Create a new workspace and attach the authenticated caller as the owner.

Authorizations
AuthorizationstringRequired

API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.

Body

Request body for POST /v1/me/workspaces.

region is intentionally not exposed here — the workspace is created in the region of the platform-api pod that handles the request (each region's CD pipeline serves its own ingress host), and a workspace cannot migrate between regions. The handler derives it from app.env.aws_region.

environment has no default: it is a load-bearing routing field (staging vs production downstream), and PATCH .../convert_environment is the supported migration path. Callers must commit to a value.

slugstring · min: 2 · max: 63RequiredPattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
namestring · min: 1Required
environmentstring · enumRequiredPossible values:
backend_org_idany ofOptional
string · min: 1Optional
or
nullOptional
Responses
post
/v1/me/workspaces

Last updated

Was this helpful?