Update api.md

This commit is contained in:
shamoon 2024-12-05 20:38:42 -08:00
parent 1f19628eab
commit 641ba37a0a

View File

@ -475,7 +475,7 @@ The following methods are supported:
- The delete_pages operation only accepts a single document.
- `modify_custom_fields`
- Requires `parameters`:
- `"add_custom_fields": [{ CUSTOM_FIELD_ID: VALUE }]`: array of custom field id:value pairs to add to the document, can also be a list of custom field IDs
- `"add_custom_fields": { CUSTOM_FIELD_ID: VALUE }`: JSON object consisting of custom field id:value pairs to add to the document, can also be a list of custom field IDs
to add with empty values.
- `"remove_custom_fields": [CUSTOM_FIELD_ID]`: custom field ids to remove from the document.