AnthropicClaude Managed Agents
Delete Session Resource
Remove an attached resource from a session.
DELETE
/anthropic/v1/sessions/{session_id}/resources/{resource_id}◐ PartialRequest parameters
session_idstring必填path: Session ID (path or query parameter).
resource_idstring必填path: Path parameter: the session resource ID.
session_idstring必填query: Session ID (path or query parameter).
Returns
501
Supports persistence, retrieval and removal of file resource references, up to 500 per session. Files must be live and owned by the current tenant. Paths default to /mnt/session/uploads/<file_id>; custom paths are rooted there and parent traversal is rejected. File content is immutable through this API. Sandbox synchronization is not implemented in this batch.
Errors follow the Claude Managed Agents format — see error codes
Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | |
| type | string |