Tool Router
Delete a file from a session mount
Deletes a file from a workbench session storage mount. S3 delete is idempotent — deleting a non-existent file succeeds silently.
post/api/v3.1/tool_router/session/{session_id}/mounts/{mount_id}/delete
Path parameters
session_idstring toolRouterSessionId required
The unique identifier of the tool router session
Example:trs_1a2b3c4d5e6f
The unique identifier of the tool router session
mount_idstring required
ID of the storage mount
Example:files
ID of the storage mount
Request body
Example request
{
"mount_relative_path": "report.pdf"
}Response
File deleted successfully