Response (200)
json
{
"id": "id",
"claude_project_id": "claude_project_id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "filename",
"md5": "md5",
"mime_type": "text/plain",
"size_bytes": 0,
"user": {
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"email_address": "jane.doe@example.com"
}
}Delete project document
DELETE /v1/compliance/apps/projects/documents/\{document_id\}
Delete a project document for compliance purposes.
Hard-deletes the project document permanently.
Path parameters
document_id: stringThe document ID (tagged ID, e.g., claude_proj_doc_abc123)
Headers
"anthropic-version": optional stringThe version of the Claude API you want to use.
Read more about versioning and our version history here.
"x-api-key": optional string
Returns
type: "claude_project_document_deleted"Constant string confirming deletion.
default: claude_project_document_deleted
id: stringThe ID of the project document that was deleted
Example
bash
curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
-X DELETE \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"