Delete Session Resource
delete/v1/sessions/{session_id}/resources/{resource_id}?beta=true
Path parameters
session_idstring required
Path parameter session_id
resource_idstring required
Path parameter resource_id
Headers
x-api-keystring
anthropic-versionstring
anthropic-betastring
anthropic-workspace-idstring
Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
Response
Successful response (OK)
Example response
{
"type": "session_resource_deleted",
"id": "sesrsc_011CZkZBJq5dWxk9fVLNcPht"
}