Replace hidden fields

Replace the form’s hidden fields. Send an empty array to clear them.


PATCH/api/v1/forms/{formId}/hidden-fields

Authorization

Authorization required string · header
Send Bearer <token> with an account API key that has the forms:write scope.

Path parameters

formId required string
Form ID. See FormModel.

Request body

application/json

hiddenFields required HiddenField[]
Up to 200 objects with a unique id and unique name. IDs contain 1–128 letters, digits, underscores, or hyphens. Names contain 1–100 characters after trimming. See HiddenField.

Response

200 · application/json

Source model: FormModel.

FieldTypeDescription
idstringID returned by the operation.
hiddenFieldsarrayHidden fields. See HiddenField.