Skip to main content

Delete Workspace

DELETE 

/workspaces/:workspace_id

Delete a workspace and all of its dependent records. Platform admin access only.

Workspaces accumulate projects, runs, reports, datasets, SUTs, members, and config records. These are removed children-first in a single transaction. If a dependent cannot be removed, the transaction is rolled back and the request fails with 409 instead of surfacing a database integrity error as a 500.

Returns 404 if the workspace does not exist, 403 if the caller is not a platform admin, and 422 if the workspace is personal — a personal workspace can only be removed by deleting its owning user.

Request​

Responses​

Successful Response