To enable the Compliance API, see the setup guide.
Set up the Compliance API파일 삭제
DELETE/v1/compliance/apps/chats/files/{claude_file_id}
특정 파일을 영구적으로 삭제합니다. 이는 되돌릴 수 없는 파괴적 작업입니다.
Path parameters
Headers
Returns
파일 삭제
cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
-X DELETE \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"id": "claude_file_xyz789",
"type": "claude_file_deleted"
}Returns Examples
Response 200
{
"id": "claude_file_xyz789",
"type": "claude_file_deleted"
}