To enable the Compliance API, see the setup guide.
Set up the Compliance APIElimina chat
DELETE/v1/compliance/apps/chats/{claude_chat_id}
Elimina definitivamente una chat e tutti i messaggi e i file associati. Si tratta di un'operazione distruttiva che non può essere annullata.
Path parameters
Headers
Returns
Elimina chat
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"
}