Delete file changedapi/compliance/apps/chats/files/delete
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−14removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits6to this page, all time
# Delete file ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete file ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete file
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/files/delete
4---
1# Delete file
52
6## Delete file
3**DELETE** `/v1/compliance/apps/chats/files/{claude_file_id}`
74
8**delete** `/v1/compliance/apps/chats/files/{claude_file_id}`
9
105Permanently deletes a specific file. This is a destructive
116operation that cannot be undone.
127
13### Path Parameters
8## Path parameters
149
1510- `claude_file_id: string`
1611
1712 The file ID (tagged ID, e.g., claude_file_abc123)
1813
19### Header Parameters
14## Headers
2015
2116- `"x-api-key": optional string`
2217
23### Returns
18## Returns
2419
2520- `id: string`
2621
from line 25
3025
3126 Constant string confirming deletion
3227
33 - `"claude_file_deleted"`
28 default: claude_file_deleted
3429
35### Example
30## Example
3631
37```http
32```bash
3833curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
3934 -X DELETE \
4035 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
4136```
4237
43#### Response
38### Response (200)
4439
4540```json
4641{
No line in this hunk matches that.