Skip to main content
POST
/
api
/
v1
/
workspaces
Create workspace
curl --request POST \
  --url https://api.devhelm.io/api/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "id": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "orgId": 123
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Body

application/json

Create a new workspace within the organization

name
string
required

Workspace name

Minimum string length: 1

Response

201 - */*

Created

data
object

Workspace within an organization