Delete Workspace
Delete a workspace and its member list with DELETE /v2/workspaces. Only the owner can do it, and shared applications keep running under their owner.
DELETE
Delete Workspace
string
required
The API key for your account. You can find this in your account settings.
workspaces:manage scope.
Permanently deletes a workspace and its member list. Only the workspace owner can call this endpoint; a member who no longer wants access should call Leave Workspace instead.
Deleting a workspace only removes the sharing relationship: the applications that were shared into it keep running under their original owner and are unaffected. To review who has access before deleting, call Get Workspace. This endpoint is rate limited to 1 deletion every 10 seconds per user.
Parameters
string
required
The ID of the workspace.
Response
string
Indicates whether the call was successful:
success if it was, error if not.Common errors
Related
- CLI:
squarecloud workspace delete - SDKs:
api.workspaces.delete()(JavaScript),client.workspaces.delete()(Python),c.Workspaces.Delete()(Go)

