Delete a workspace
You can use this endpoint to delete an existing workspace by its workspaceId. **Caution:** Deleted workspaces cannot be recovered.
### Usage notes
- Retrieve the **workspaceId** by calling the [/v2/workspaces](https://help.sigmacomputing.com/reference/list-workspaces) endpoint.
### Usage scenarios
- **Cleanup operations**: Useful for removing workspaces that are no longer needed or relevant.
- **Resource management**: Helps in managing the overall resource allocation by removing unused workspaces.
### Best practices
- **Confirm before deletion**: Always ensure that deletion operations are preceded by explicit user confirmations to prevent accidental loss of data.
- **Audit and logging**: Maintain audit logs for deletion actions to track who deleted the workspace and when.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
workspaceId
Response
The response body.

