update_form
Patch a HubSpot form's configuration, display options, legal consent, or field groups using the form ID and updated fields. To alter the field set, retrieve the form first and submit the complete modified fieldGroups.
Instructions
Patch a form.
Args: form_id: HubSpot form ID. fields: any of name, fieldGroups, configuration, displayOptions, legalConsentOptions.
To change the field set, call get_form first, modify the returned fieldGroups, and pass the whole tree back here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| form_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||