cliDeterministic
Delete workspace
pipeline delete-workspace
Permanently delete one exact workspace owned by the authenticated personal-token user. Requires confirm=true. This cannot be undone.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
targetWorkspaceIdrequired
string
Exact workspace to delete. This is never replaced by the workspace selected for authentication.
confirmrequired
boolean
No description.
Example
CLI commandbash
pipeline delete-workspace \--target-workspace-id "00000000-0000-4000-8000-000000000000" \--confirm
Response
Success response schemajson schema
{"type": "object","properties": {"success": {"type": "boolean"}},"required": ["success"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.