Delete Session changedapi/beta/sessions/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+12added
Lines−3removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Delete Session
3url: https://platform.claude.com/docs/en/api/beta/sessions/delete
4---
5
16# Delete Session
27
38**DELETE** `/v1/sessions/{session_id}`
from line 21
1621
1722 - `string`
1823
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2025
2126 - `"message-batches-2024-09-24"`
2227
from line 69
6469
6570 - `"user-profiles-2026-08-18"`
6671
72 - `"user-profiles-2026-09-04"`
73
6774 - `"advisor-tool-2026-03-01"`
6875
6976 - `"managed-agents-2026-04-01"`
from line 113
106113
107114 - `"mid-conversation-system-clear-at-2026-08-21"`
108115
116- `"anthropic-workspace-id": optional string`
117
109118## Returns
110119
111120- `BetaManagedAgentsDeletedSession object`
from line 121
112121
113122 Confirmation that a `session` has been permanently deleted.
114123
115 - `id: string`
116
117124 - `type: "session_deleted"`
125
126 - `id: string`
118127
119128## Example
120129
No line in this hunk matches that.