Haijun Platform Docs
ID

DELETE /v1/compliance/apps/chats/files/{haijun_file_id}

Permanently deletes a specific file. This is a destructive operation that cannot be undone.

Path parameters

  • haijun_file_id: string

The file ID (tagged ID, e.g., haijun_file_abc123)

Headers

  • "x-api-key": optional string

Returns

  • type: optional "haijun_file_deleted"

Constant string confirming deletion

default: haijun_file_deleted

  • id: string

The ID of the file that was deleted

Example

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

Response (200)

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