Skip to main content
POST
Create a workspace

Authorizations

Authorization
string
header
required

Session token as Authorization: Bearer (the CLI and scripts).

Path Parameters

orgSlug
string
required

Body

application/json
name
string
required
Minimum string length: 1
slug
string
Pattern: ^[a-z0-9][a-z0-9-]*$
region
enum<string>
Available options:
gcp-us-central1
description
string

Response

Created

id
string
required
name
string
required
Example:

"EU Clients"

slug
string
required
Example:

"eu-clients"

region
enum<string>
required
Available options:
gcp-us-central1
Example:

"gcp-us-central1"

description
string | null
required
createdAt
string
required
role
enum<string>
required

The caller's effective role

Available options:
admin,
member,
viewer