Delete PDF Pages
Deletes selected pages from a PDF and makes the modified PDF available for download.
Endpoint
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/delete \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'input_options={
"page_ranges": [
"2-4",
"7,9"
]
}' \
-F 'output_settings={
"name": "quarterly-review-trimmed.pdf"
}'Request Body
multipart/form-dataThe source PDF from which to delete pages, uploaded directly or imported from a publicly accessible URL. The file must be no larger than 50 MB, contain no more than 400 pages, and have no page larger than 2,400 square inches. Its filename must not exceed 255 characters. Supported formats: pdf.
Configures which pages are removed from the source PDF.
{
"page_ranges": [
"2-4",
"7,9"
]
}Show Sub-Attributes
One to 10 expressions identifying the pages to delete. Every selected page must exist in the source PDF, and at least one page must remain.
[
"2-4",
"7,9"
]Configures the modified PDF's filename.
{
"name": "quarterly-review-trimmed.pdf"
}Show Sub-Attributes
The filename for the modified PDF. A .pdf extension is appended when the name does not already end with one.
// Note: payload contains multiple type attributes
// type: file
file = quarterly-review.pdf
// type: object
input_options = {
"page_ranges": [
"2-4",
"7,9"
]
}
// type: object
output_settings = {
"name": "quarterly-review-trimmed.pdf"
} {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/delete/job/3f65c7592a741d98e46bf310cbe678f574a1d51fce306a8d9b6430217e538acd"
}
Rate Limits
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.