Update api.md

This commit is contained in:
shamoon
2026-02-13 07:50:39 -08:00
parent 80af37bf1f
commit 969eb8beaa

View File

@@ -315,13 +315,13 @@ The following methods are supported:
- `"doc": OUTPUT_DOCUMENT_INDEX` Optional index of the output document for split operations. - `"doc": OUTPUT_DOCUMENT_INDEX` Optional index of the output document for split operations.
- Optional `parameters`: - Optional `parameters`:
- `"delete_original": true` to delete the original documents after editing. - `"delete_original": true` to delete the original documents after editing.
- `"update_document": true` to add the edited PDF as a new version of the selected/root document. - `"update_document": true` to add the edited PDF as a new version of the root document.
- `"include_metadata": true` to copy metadata from the original document to the edited document. - `"include_metadata": true` to copy metadata from the original document to the edited document.
- `remove_password` - `remove_password`
- Requires `parameters`: - Requires `parameters`:
- `"password": "PASSWORD_STRING"` The password to remove from the PDF documents. - `"password": "PASSWORD_STRING"` The password to remove from the PDF documents.
- Optional `parameters`: - Optional `parameters`:
- `"update_document": true` to add the password-less PDF as a new version of the selected/root document. - `"update_document": true` to add the password-less PDF as a new version of the root document.
- `"delete_original": true` to delete the original document after editing. - `"delete_original": true` to delete the original document after editing.
- `"include_metadata": true` to copy metadata from the original document to the new password-less document. - `"include_metadata": true` to copy metadata from the original document to the new password-less document.
- `merge` - `merge`