Delete unwanted Pages from PDF
Delete unwanted pages from your PDF document. Specify the pages and automatically remove them using the Delete Pages action.
- Method: POST
- Endpoint: /api/v2/DeletePages
Parameters
- File NameString, Required
Specify the Name of the PDF file with the file extension
- File ContentBase64, Required
Map the PDF file content from the source action
- Page NumbersString, Required
- Specify page indices as comma-separated values or ranges to process (e.g. “0, 1, 2-” or “1, 2, 3-7”).
- If not specified, the default configuration processes all pages. The input must be in string format.
Output
- File ContentBinary
Output file content from PDF4me Delete Pages action
- File NameString
Output file name from PDF4me Delete action
Header
Content-Type:application/json
Authorization: Please copy key from the link.
Payload
{
"docContent": "Please put PDF base64 content",
"docName": "output.pdf",
"pageNumbers": "2"
}
PDF4me api samples
- CSharp(C#)
- Java
- JavaScript
- Python
- Salesforce
- n8n
- Google Script
- AWS Lambda