Skip to main content
POST
Create Workspace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

The ID of the Organization to which the Workspace will belong.

Body

application/json

The request body for creating a new Workspace.

name
string
required

The Workspace's name.

Maximum string length: 50
Example:

"My Workspace"

cicdEnforcedDefault
boolean

Whether new Deployments enforce CI/CD deploys by default.

Example:

true

description
string

The Workspace's description.

Example:

"This is a test workspace"

Response

OK

cicdEnforcedDefault
boolean
required

Whether CI/CD deploys are enforced by default.

Example:

true

createdAt
string<date-time>
required

The time when the Workspace was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ

Example:

"2023-09-08T12:00:00Z"

id
string
required

The Workspace's ID.

Example:

"clm8t5u4q000008jq4qoc3036"

name
string
required

The Workspace's name.

Example:

"My Workspace"

organizationId
string
required

The ID of the organization to which the workspace belongs.

Example:

"clm8t5u4q000008jq4qoc3036"

updatedAt
string<date-time>
required

The time when the Workspace was updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ

Example:

"2023-09-08T13:30:00Z"

createdBy
object
description
string

The Workspace's description.

Example:

"This is a test workspace"

organizationName
string

The name of the Organization to which the Workspace belongs.

Example:

"My Organization"

updatedBy
object