From 641ba37a0a08caa6e91fd3747b74dbc15879340c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:38:42 -0800 Subject: [PATCH] Update api.md --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 92032cde0..8b755b11d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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.