To enable the Compliance API, see the setup guide.
Set up the Compliance API채팅 삭제
DELETE/v1/compliance/apps/chats/{claude_chat_id}
채팅과 관련된 모든 메시지 및 파일을 영구적으로 삭제합니다. 이는 되돌릴 수 없는 파괴적 작업입니다.
Path parameters
Headers
Returns
채팅 삭제
cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/$CLAUDE_CHAT_ID \
-X DELETE \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"id": "claude_chat_abc123",
"type": "claude_chat_deleted"
}Returns Examples
Response 200
{
"id": "claude_chat_abc123",
"type": "claude_chat_deleted"
}