Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Delete File changed

api/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 edits4to this page, all time

## Headers

The whole hunk

from line 1, old and new numbered
/
lines
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