Delete Session File
Session Files
Delete Session File
Delete a file from the session’s uploads directory.
DELETE
Delete Session File
Overview
Removes a file previously uploaded viaPOST /browser/sessions/{id}/files. The filename path segment must be URL-encoded and cannot contain path separators. Deleting a non-existent file returns 404.
Path Parameters
Browser session ID (UUID).
File name to delete. Must match exactly the
filename used at upload time, URL-encoded.Example Request
Response
Success Response (204)
No content.Error Responses
| Status | Description |
|---|---|
400 | Invalid filename — contains a path separator or is . / ... |
401 | Unauthorized — invalid or missing API key. |
404 | Session not found, or no such file in the uploads directory. |