a686fddb4e0c

latestOpenAPI 3.1.12026-08-10130601.0 MB

Create Workspace

Create a new workspace in your account.

post/v1/workspace/

Request body

namestring required

Workspace name.

descriptionstring nullable

Optional workspace description.

Example request

{
  "name": "my-workspace",
  "description": "Testing workspace API"
}

Response

Workspace created. Response returns the updated paginated list of workspaces in the account.

Example response

{
  "results": [
    {
      "uid": "wksp_exampleUid01",
      "slug": "staging",
      "name": "Staging"
    }
  ]
}