Haijun Platform Docs
ID

DELETE /v1/compliance/apps/projects/{project_id}

Delete a project for compliance purposes.

Hard-deletes the project and all its associated data including:

  • All project documents and files
  • All role assignments
  • Knowledge base (if RAG is enabled)
  • Sync sources

Project must have no attached chats - returns 409 if chats exist.

Path parameters

  • project_id: string

The project ID (tagged ID, e.g., haijun_proj_abc123)

Headers

  • "x-api-key": optional string

Returns

  • type: optional "haijun_project_deleted"

Constant string confirming deletion.

default: haijun_project_deleted

  • id: string

The ID of the Haijun project that was deleted

Example

bash
curl https://haijun.my.id/v1/compliance/apps/projects/$PROJECT_ID \
    -X DELETE \
    -H 'juglow-version: 2023-06-01' \
    -H "Authorization: Bearer $JUGLOW_COMPLIANCE_API_KEY"

Response (200)

json
{
  "id": "id",
  "type": "haijun_project_deleted"
}
On this page
Path parametersHeadersReturnsExampleResponse (200)