Set form availability
Open or close a form for responses. The form must have been published before you can open it.
PATCH
/api/v1/forms/{formId}/availabilityAuthorization
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
Send only the active property.
active required boolean
true to accept responses or false to close the form. Response
200 · application/json
Source model: FormModel.
| Field | Type | Description |
|---|---|---|
id | string | ID returned by the operation. |
active | boolean | Whether the form accepts responses. |