Actions42
- Bulk Render Actions
- Document Actions
- Document Tool Actions
- File Actions
- Render Actions
Document Tool → Keep/Remove Pages
AI-generatedSummary
Keep or remove specific pages from a PDF document using the Autype Document Tool.
Inputs
- fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
- mode (required) — Whether to keep or remove the specified pages.
- pages (required) — Comma-separated page specifications (e.g. '1,3-5').
- waitForCompletion — Whether to wait for the tool job to complete before returning. Default: true.
- downloadOutput — Whether to automatically download the output file as binary data after completion. Requires waitForCompletion to be true. Default: false.
Output shape
json
Returns the processed PDF document data as JSON on completion. If downloadOutput is true and the job status is COMPLETED, returns binary data (file download) instead.
Examples
Example 1: Remove pages 2 and 4 from a PDF
fileId: 'file_123', mode: 'remove', pages: '2,4'