Delete workspace
Repository Workspace Manipulation
Delete workspace
Deletes a workspace, removing it from the user’s workspace list.
Important: The workspace’s uncommitted changes are lost unless previously shelved or committed.
Use cases:
- Cleaning up unused workspaces
- Switching between different working contexts
Requirements: Requires READ access to the repository.
Returns:
404 Not Foundif the workspace doesn’t exist204 No Contenton successful deletion
DELETE
Delete workspace
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128Example:
"example_id"
The repo ID of the workspace.
Required string length:
3 - 128Example:
"example_id"
Response
Request completed successfully

