Skip to content

Update Form

POST
/admin/forms/{id}
curl --request POST \
--url http://localhost:9000/admin/forms/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "handle": "example", "description": "example", "active": true, "turnstile_enabled": true, "notification_emails": [ "example" ], "metadata": {}, "form_fields": "example", "label": "example", "field_type": "example", "required": true, "sort_order": 1 }'
id
required
string
Media type application/json
object
name
required
string
handle
string
description
string
nullable
active
boolean
turnstile_enabled
boolean
notification_emails
Array<string>
nullable
metadata
object
key
additional properties
any
form_fields
string
label
required
string
field_type
required
string
required
boolean
sort_order
number
Example generated
{
"name": "example",
"handle": "example",
"description": "example",
"active": true,
"turnstile_enabled": true,
"notification_emails": [
"example"
],
"metadata": {},
"form_fields": "example",
"label": "example",
"field_type": "example",
"required": true,
"sort_order": 1
}

OK

Media type application/json
object
Example generated
{}