v56

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01142337440.5 KB
WorkspaceAdminService
Workspace Admin

Create a workspace

Creates a new workspace in the account. Admin only.

post/v1/account/workspaces

Request body

Response

OK

status'STATUS_ENABLED' | 'STATUS_DISABLED' | 'STATUS_ARCHIVED' enum

Lifecycle status of the workspace. Archived workspaces reject all requests scoped to them. Server-populated.

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  }
}