Delete workspace
DELETE/api/v1/workspaces/:workspaceId
Authentication: requires a logged-in workspace-member session. API keys (workspace or the instance master key) are NOT accepted for this operation.
Permanently delete the workspace and all its data. Owner session only. Workspaces marked as template cannot be deleted.
Request
Responses
- 200
- 400
- 401
- 403
- 409
Delete workspace
Validation error
Missing or invalid credentials
Insufficient permissions
The workspace is a template (TEMPLATE_IN_USE).