Skip to content
Browse all functions

Remove Pages from PDF

files/removepdfpages

Deletes the given pages from a PDF and returns the rest. At least one page must remain.

Endpoint

POSThttps://api.1001fx.com/files/removepdfpages
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

Remove Pages from PDF

Remove Pages from PDF

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf",
  "pages": "2-3"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/removepdfpages' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/3pages.pdf","pages":"2-3"}'

Try removepdfpages now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created