Replace form variables
Replace the form’s variables. Send an empty array to clear them.
PATCH
/api/v1/forms/{formId}/variablesAuthorization
Authorization required string · header
Bearer <token> with an account API key that has the forms:write scope. Path parameters
formId required string
Request body
application/json
variables required Variable[]
id, name, kind, and value. IDs must be unique and contain 1–128 letters, digits, underscores, or hyphens. Names contain 1–100 characters after trimming. Set kind to string or number and supply a value of that type. See Variable. Response
200 · application/json
Source model: FormModel.
| Field | Type | Description |
|---|---|---|
id | string | ID returned by the operation. |
variables | array | Variables associated with the resource. See Variable. |