Delete Session changedapi/beta/sessions/delete
Nearest release: v2.1.309, published 2 hours 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+2added
Lines−2removed
From line
152
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
The whole hunk
from line 152, old and new numbered
/
from line 152
152152```bash
153153curl https://api.anthropic.com/v1/sessions/$SESSION_ID \
154154 -X DELETE \
155 -H 'anthropic-version: 2023-06-01' \
155 -H 'anthropic-version: 2026-10-21' \
156156 -H 'anthropic-beta: managed-agents-2026-04-01' \
157 -H "X-Api-Key: $ANTHROPIC_API_KEY"
157 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
158158```
159159
160160### Response (200)
No line in this hunk matches that.