Set Form Lock Status
This endpoint allows you to set the form lock status for a specific template from your community.
Set Form Lock Status
POST https://api.sonorancms.com/forms/set_lock_status
Set the specific form template lock status
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
SET_FORM_LOCK_STATUS
data*
array
Array of request objects
Successfully set the lock state for ${formTemplateLabel} to: ${state ? 'LOCKED' : 'UNLOCKED'}INVALID API KEY
INVALID COMMUNITY ID
INVALID_TEMPLATE_ID{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "SET_FORM_LOCK_STATUS",
"data": [
{
"templateId": 1,
"state": true
}
]
}Template ID
The templateId number can be taken from the form editor's URL when editing a form template.

Last updated
Was this helpful?

