Delete File changedapi/files/delete
Nearest release: v2.1.268, published under 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+13added
Lines−4removed
From line
1
where the diff opens
First seen
20 Aug 2026
this site's first read of the page
Recorded edits7to this page, all time
## Headers
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/files/delete
4---
5
16# Delete File
27
38**DELETE** `/v1/files/{file_id}`
from line 15
1015
1116 ID of the File.
1217
18## Headers
19
20- `"anthropic-workspace-id": optional string`
21
1322## Returns
1423
1524- `DeletedFile object`
1625
17 - `id: string`
18
19 ID of the deleted file.
20
2126 - `type: optional "file_deleted"`
2227
2328 Deleted object type.
from line 30
2530 For file deletion, this is always `"file_deleted"`.
2631
2732 default: file_deleted
33
34 - `id: string`
35
36 ID of the deleted file.
2837
2938## Example
3039
No line in this hunk matches that.