Workspaces

List workspaces

get

List the workspaces for the organization.

Authorizations
Path parameters
organizationIdstringRequired

The organization ID

Query parameters
limitinteger · min: 1 · max: 100Optional

Limits the number of results to return

Default: 10
pageTokenstringOptional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
Responses
200
OK
application/json
Responseall of
and
get
GET /organizations/{organizationId}/workspaces HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*
{
  "results": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "organizationId": "123e4567-e89b-12d3-a456-426614174000",
      "status": "active",
      "statusTransitions": [
        {
          "fromStatus": "active",
          "toStatus": "active",
          "reason": "org-banned",
          "comment": "text",
          "transitionedAt": "2025-07-12T04:12:03.373Z",
          "transitionedBy": {
            "type": "user",
            "id": "123e4567-e89b-12d3-a456-426614174000"
          }
        }
      ],
      "name": "text",
      "description": "text",
      "dataPolicy": {
        "group": "eu-west-1",
        "regions": [
          {
            "region": "eu-west-1",
            "priority": 1
          }
        ],
        "piiStrategy": "default"
      },
      "configuration": {
        "domain": "example.com"
      },
      "createdAt": "2025-07-12T04:12:03.373Z",
      "updatedAt": "2025-07-12T04:12:03.373Z"
    }
  ],
  "nextPageToken": "text"
}

Create workspace

post

Create a workspace for the organization.

Authorizations
Path parameters
organizationIdstringRequired

The organization ID

Body
namestring · min: 1 · max: 256Required

The display name for the workspace

descriptionstring · min: 1 · max: 256Optional

The description for the workspace

userUsernamestring | nullableOptional

The username of the user that is creating the workspace.

Pattern: ^[a-z0-9._-]+$
flavorsstring[] | nullableOptional
Responses
201
Created
application/json
post
POST /organizations/{organizationId}/workspaces HTTP/1.1
Host: 
Authorization: Bearer jwt
Content-Type: application/json
Accept: */*
Content-Length: 201

{
  "name": "text",
  "description": "text",
  "dataPolicy": {
    "group": "eu-west-1",
    "regions": [
      {
        "region": "eu-west-1",
        "priority": 1
      }
    ]
  },
  "configuration": {
    "domain": "example.com"
  },
  "userUsername": "text",
  "flavors": [
    "text"
  ]
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "organizationId": "123e4567-e89b-12d3-a456-426614174000",
  "status": "active",
  "statusTransitions": [
    {
      "fromStatus": "active",
      "toStatus": "active",
      "reason": "org-banned",
      "comment": "text",
      "transitionedAt": "2025-07-12T04:12:03.373Z",
      "transitionedBy": {
        "type": "user",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    }
  ],
  "name": "text",
  "description": "text",
  "dataPolicy": {
    "group": "eu-west-1",
    "regions": [
      {
        "region": "eu-west-1",
        "priority": 1
      }
    ],
    "piiStrategy": "default"
  },
  "configuration": {
    "domain": "example.com"
  },
  "createdAt": "2025-07-12T04:12:03.373Z",
  "updatedAt": "2025-07-12T04:12:03.373Z"
}

Get workspace

get

Get the workspace instance.

Authorizations
Path parameters
organizationIdstringRequired

The organization ID

workspaceIdstring · uuidRequired

The workspace ID

Responses
200
OK
application/json
get
GET /organizations/{organizationId}/workspaces/{workspaceId} HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "organizationId": "123e4567-e89b-12d3-a456-426614174000",
  "status": "active",
  "statusTransitions": [
    {
      "fromStatus": "active",
      "toStatus": "active",
      "reason": "org-banned",
      "comment": "text",
      "transitionedAt": "2025-07-12T04:12:03.373Z",
      "transitionedBy": {
        "type": "user",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    }
  ],
  "name": "text",
  "description": "text",
  "dataPolicy": {
    "group": "eu-west-1",
    "regions": [
      {
        "region": "eu-west-1",
        "priority": 1
      }
    ],
    "piiStrategy": "default"
  },
  "configuration": {
    "domain": "example.com"
  },
  "createdAt": "2025-07-12T04:12:03.373Z",
  "updatedAt": "2025-07-12T04:12:03.373Z"
}

Delete workspace

delete

Delete a workspace from the organization.

Authorizations
Path parameters
organizationIdstringRequired

The organization ID

workspaceIdstring · uuidRequired

The workspace ID

Responses
204
Delete successful
delete
DELETE /organizations/{organizationId}/workspaces/{workspaceId} HTTP/1.1
Host: 
Authorization: Bearer jwt
Accept: */*

No content

Update workspace

patch

Update a workspace's properties.

Authorizations
Path parameters
organizationIdstringRequired

The organization ID

workspaceIdstring · uuidRequired

The workspace ID

Body
namestring · min: 1 · max: 256Optional

The display name for the workspace

descriptionstring · min: 1 · max: 256Optional

The description for the workspace

Responses
200
OK
application/json
patch
PATCH /organizations/{organizationId}/workspaces/{workspaceId} HTTP/1.1
Host: 
Authorization: Bearer jwt
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "name": "text",
  "description": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "organizationId": "123e4567-e89b-12d3-a456-426614174000",
  "status": "active",
  "statusTransitions": [
    {
      "fromStatus": "active",
      "toStatus": "active",
      "reason": "org-banned",
      "comment": "text",
      "transitionedAt": "2025-07-12T04:12:03.373Z",
      "transitionedBy": {
        "type": "user",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    }
  ],
  "name": "text",
  "description": "text",
  "dataPolicy": {
    "group": "eu-west-1",
    "regions": [
      {
        "region": "eu-west-1",
        "priority": 1
      }
    ],
    "piiStrategy": "default"
  },
  "configuration": {
    "domain": "example.com"
  },
  "createdAt": "2025-07-12T04:12:03.373Z",
  "updatedAt": "2025-07-12T04:12:03.373Z"
}

Last updated

Was this helpful?