Delete Session Resource changedapi/beta/sessions/resources/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−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
# Delete Session Resource ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete Session Resource ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete Session Resource
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources/delete
4---
1# Delete Session Resource
52
6## Delete Session Resource
3**DELETE** `/v1/sessions/{session_id}/resources/{resource_id}`
74
8**delete** `/v1/sessions/{session_id}/resources/{resource_id}`
9
105Delete Session Resource
116
12### Path Parameters
7## Path parameters
138
149- `session_id: string`
1510
1611- `resource_id: string`
1712
18### Header Parameters
13## Headers
1914
2015- `"anthropic-beta": optional array of AnthropicBeta`
2116
from line 88
9388
9489 - `"mid-conversation-tool-changes-2026-07-01"`
9590
96### Returns
91## Returns
9792
98- `BetaManagedAgentsDeleteSessionResource object { id, type }`
93- `BetaManagedAgentsDeleteSessionResource object`
9994
10095 Confirmation of resource deletion.
10196
from line 98
10398
10499 - `type: "session_resource_deleted"`
105100
106 - `"session_resource_deleted"`
101## Example
107102
108### Example
109
110```http
103```bash
111104curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
112105 -X DELETE \
113106 -H 'anthropic-version: 2023-06-01' \
from line 108
115108 -H "X-Api-Key: $ANTHROPIC_API_KEY"
116109```
117110
118#### Response
111### Response (200)
119112
120113```json
121114{
No line in this hunk matches that.