Update form
update_form_schemaChange a form's name or schema. Forms have no draft: when the form is on a published page, the change is live at once. Each top-level schema key you send (fields, groups, scoring, email and so on) replaces the stored one whole and keys you leave out are kept, so send complete values: the full fields array, the full scoring object. expectedUpdatedAt (updatedAt from get_form) is required, and the change is refused if the form changed since. The merged schema is checked like create_form's before anything is written: problems the change introduces are refused, ones already in the form come back as warnings, and fields the change removes are listed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New form name | |
| formId | Yes | The form ID | |
| projectId | Yes | The project ID | |
| formSchema | No | The top-level keys to replace; keys left out are kept | |
| expectedUpdatedAt | Yes | updatedAt as read from get_form; the change is refused if the form changed since |