Skip to content

Workspace

POST /api/v1/organizations/{org_id}/workspaces

Creates the company and its workspace, which provisions in the background. The caller must be an owner or admin of the organization.

Authentication: BearerAuth.

NameInTypeRequiredDescription
org_idpathstringYesOrganization ID

application/json, required: CreateWorkspaceRequest

Workspace

FieldTypeRequiredDescription
discount_codestringNo
display_namestringYesAt most 100 characters.
plan_idstringYes
starterStarterYes
StatusDescriptionBody
202AcceptedWorkspaceSummary
400Bad RequestErrorResponse
401UnauthorizedErrorResponse
402Payment RequiredInsufficientWalletResponse
403ForbiddenErrorResponse
404Not FoundErrorResponse
422Unprocessable EntityErrorResponse
500Internal Server ErrorErrorResponse

List the workspaces the authenticated user may enter

Section titled “List the workspaces the authenticated user may enter”

GET /api/v1/workspaces

Authentication: BearerAuth.

StatusDescriptionBody
200OKarray of WorkspaceSummary
401UnauthorizedErrorResponse
500Internal Server ErrorErrorResponse

Get a workspace the authenticated user may enter

Section titled “Get a workspace the authenticated user may enter”

GET /api/v1/workspaces/{id}

Authentication: BearerAuth.

NameInTypeRequiredDescription
idpathstringYesWorkspace ID
StatusDescriptionBody
200OKWorkspaceSummary
401UnauthorizedErrorResponse
404Not FoundErrorResponse
500Internal Server ErrorErrorResponse

GET /api/v1/workspaces/{id}/provisioning

Authentication: BearerAuth.

NameInTypeRequiredDescription
idpathstringYesWorkspace ID
StatusDescriptionBody
200OKProvisioningStatus
401UnauthorizedErrorResponse
404Not FoundErrorResponse
500Internal Server ErrorErrorResponse

Retry a workspace’s failed provisioning now

Section titled “Retry a workspace’s failed provisioning now”

POST /api/v1/workspaces/{id}/provisioning/retry

Authentication: BearerAuth.

NameInTypeRequiredDescription
idpathstringYesWorkspace ID
StatusDescriptionBody
202AcceptedNone
401UnauthorizedErrorResponse
403ForbiddenErrorResponse
404Not FoundErrorResponse
409ConflictErrorResponse
500Internal Server ErrorErrorResponse

Part of Crewlet. Generated from the OpenAPI document of the API, version 0.1.0.