Delete an empty workspace
Needs workspaces.manage. Only a workspace with no projects (409 workspace_not_empty otherwise; never a cascade) that is not one of the org's defaults. External workspaces an Internal one managed are kept, their manager_workspace_id cleared. Audited. Off until the workspace API is enabled for this deployment: until then it answers 404 to everyone. API keys cannot call it yet.
Authorization
bearerAuth A RemoteHost API key (rh_sk_...) or a user session token.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/orgs/string/workspaces/string"Rename a workspace, change its slug, set its manager, or switch its add-ons PATCH
Needs `workspaces.manage`. The kind cannot change. An External workspace's `managerWorkspaceId` names the Internal workspace that runs it, or null for none; it grants no access. An Internal workspace's `addOns` switches what its sidebar shows; it gates no API. Audited. Off until the workspace API is enabled for this deployment: until then it answers 404 to everyone. API keys cannot call it yet.
Read a workspace's machine-hour limit and its usage GET
Needs `billing.read`. The workspace's cap on billable machine-hours this billing period, beside the org's and each project's, and what its projects have used. Sandbox create and wake check the org's cap, then the workspace's, then the project's. An API key may call it; a key pinned to a workspace only for its own, and any other workspace answers it the same 404 as one that does not exist. Off until the workspace API is enabled for this deployment: until then it answers 404 to everyone.