Change PDF Password
change_passwordChange the password of an already-protected PDF file.
Creates a NEW job_id (with parent_job_id linking to the source). After the operation completes, call 'view_pdf' with the new job_id to display the result. Do NOT call this on an unprotected PDF — use set_password instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | New owner password. | |
| job_id | Yes | Job ID of the password-protected PDF (use the latest job_id). | |
| password | Yes | New user password. | |
| session_id | Yes | Session ID that the job belongs to. | |
| old_password | Yes | The current user password needed to unlock the PDF. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| filename | Yes | ||
| mime_type | Yes | ||
| reply_note | Yes | ||
| session_id | Yes | ||
| download_url | Yes | ||
| instructions | Yes | ||
| parent_job_id | Yes |