Remove File from Session
pdf_merger_remove_fileRemove a specified PDF from an upload session. Permanently deletes the file from cloud storage using session and file IDs.
Instructions
Remove a single PDF file from an upload session on the PDF Merger service.
The file is permanently deleted from cloud storage. This operation cannot be undone.
Args:
session_id (string): UUID of the session containing the file.
file_id (string): UUID of the file to remove.
Returns (JSON): { "success": true }
Error Handling:
Session not found → 404 error
File not found in session → 404 error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ID of the file to remove from the session. | |
| session_id | Yes | Session ID that contains the file. |