Delete Pages From a PDF
A 4-step recipe with Adobe. We can help you get access.
Recipe · 4 steps
Delete Pages From a PDF
with Adobe
Remove a range of pages from an uploaded PDF.
- Request a pre-signed upload URI and asset ID for the source PDF, which is then PUT to the returned uploadUri out of band.
- Submit an asynchronous deletePages job that removes the requested page range from the uploaded PDF. Returns 201 with an in-progress job status.
- Poll the deletePages job until it is no longer in progress, looping back while the status remains "in progress".
- Resolve a pre-signed download URI for the trimmed output PDF.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token from Adobe IMS.
- startPage: First page of the range to delete (1-based).
- endPage: Last page of the range to delete (1-based, inclusive).
- jobID: The job identifier taken from the deletePages response Location header, used to poll status.
For your developer
Arazzo workflow adobe:delete-pages, 4 operations: asset.uploadpresignedurl → deletePages → getJobStatus → getAsset. Specs on APIs.io.