Update document
paperless_update_documentUpdate a document's metadata in paperless-ngx. Modify specific fields like title, tags, correspondent, or custom fields while leaving other values untouched.
Instructions
Change one document’s metadata. Only the fields you pass are touched. tag_ids replaces the whole tag set, while add_tag_ids/remove_tag_ids adjust it relative to what is already there. Pass clear_correspondent/clear_document_type/clear_storage_path to unset a field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id. | |
| title | No | ||
| content | No | Overwrite the extracted text. Rarely what you want. | |
| created | No | Document date, `YYYY-MM-DD`. | |
| tag_ids | No | Replace all tags with exactly these ids. | |
| owner_id | No | ||
| add_tag_ids | No | ||
| custom_fields | No | Replaces the document’s custom field values wholesale. | |
| remove_tag_ids | No | ||
| storage_path_id | No | ||
| correspondent_id | No | ||
| document_type_id | No | ||
| clear_storage_path | No | ||
| clear_correspondent | No | ||
| clear_document_type | No | ||
| archive_serial_number | No |