Skip to content

Update Field

POST
/admin/forms/{id}/fields/{fieldId}
curl --request POST \
--url http://localhost:9000/admin/forms/example/fields/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "label": "example", "field_type": "example", "required": true, "sort_order": 1, "field_options": "example", "value": "example" }'
id
required
string
fieldId
required
string
Media type application/json
object
name
string
label
required
string
field_type
string
required
boolean
sort_order
number
field_options
string
value
required
string
Example generated
{
"name": "example",
"label": "example",
"field_type": "example",
"required": true,
"sort_order": 1,
"field_options": "example",
"value": "example"
}

OK

Media type application/json
object
Example generated
{}