DELETE /v1/compliance/apps/chats/{haijun_chat_id}
Permanently deletes a chat and all associated messages and files. This is a destructive operation that cannot be undone.
Path parameters
haijun_chat_id: string
The chat ID (tagged ID, e.g., haijun_chat_abc123)
Headers
"x-api-key": optional string
Returns
type: optional "haijun_chat_deleted"
Constant string confirming deletion
default: haijun_chat_deleted
id: string
The ID of the Haijun chat that was deleted
Example
bash
curl https://haijun.my.id/v1/compliance/apps/chats/$HAIJUN_CHAT_ID \
-X DELETE \
-H 'juglow-version: 2023-06-01' \
-H "Authorization: Bearer $JUGLOW_COMPLIANCE_API_KEY"Response (200)
json
{
"id": "haijun_chat_abc123",
"type": "haijun_chat_deleted"
}