v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
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 Found if the workspace doesn't exist
  • 204 No Content on successful deletion
delete/repos/{repo_id}/workspaces/{workspace_id}

Response

Request completed successfully