DELETE /v1/compliance/apps/projects/documents/{document_id}
Delete a project document for compliance purposes.
Hard-deletes the project document permanently.
Path parameters
document_id: string
The document ID (tagged ID, e.g., haijun_proj_doc_abc123)
Headers
"x-api-key": optional string
Returns
type: "haijun_project_document_deleted"
Constant string confirming deletion.
default: haijun_project_document_deleted
id: string
The ID of the project document that was deleted
Example
bash
curl https://haijun.my.id/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
-X DELETE \
-H 'juglow-version: 2023-06-01' \
-H "Authorization: Bearer $JUGLOW_COMPLIANCE_API_KEY"Response (200)
json
{
"id": "id",
"type": "haijun_project_document_deleted"
}