Delete Project
DELETE /api/projects/{project_id}
Delete a project permanently.
Permanently deletes the specified project from ChromaDB through ProjectManager including all associated intelligence data, analytics, and metadata. This operation cannot be undone.
The system prevents deletion of the last remaining project to ensure at least one project always exists in the system.
Args: project_id: Unique project identifier to delete
Returns: None: 204 No Content on successful deletion
Raises: HTTPException: 400 if attempting to delete the last project HTTPException: 404 if project not found HTTPException: 500 if deletion operation fails
Example Request:
DELETE / api / projects / proj_abc123
Example Success Response:
HTTP/1.1 204 No Content
Example Error Response (last project):
json { "detail": "Cannot delete the last project" }
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Successful Response
Validation Error