Update a specific form_field_placement by id
curl --request PUT \
--url https://api.rootly.com/v1/form_field_placements/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_placements",
"attributes": {
"form_set_id": "<string>",
"form": "<string>",
"position": 123,
"required": true,
"required_operator": "and",
"placement_operator": "and"
}
}
}'
{
"data": {
"id": "9694bf4a-83cc-4aca-8d34-4644186037c7",
"type": "form_field_placements",
"attributes": {
"form_field_id": "91c740fa-5b15-4d21-b090-df13d261742e",
"form_set_id": "bc3609d8-4855-448a-8b40-fa60fa0bb4e7",
"form": "web_new_incident_form",
"position": 5,
"required": false,
"placement_operator": "and",
"required_operator": "and"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_placement updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/form_field_placements/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_placements",
"attributes": {
"form_set_id": "<string>",
"form": "<string>",
"position": 123,
"required": true,
"required_operator": "and",
"placement_operator": "and"
}
}
}'
{
"data": {
"id": "9694bf4a-83cc-4aca-8d34-4644186037c7",
"type": "form_field_placements",
"attributes": {
"form_field_id": "91c740fa-5b15-4d21-b090-df13d261742e",
"form_set_id": "bc3609d8-4855-448a-8b40-fa60fa0bb4e7",
"form": "web_new_incident_form",
"position": 5,
"required": false,
"placement_operator": "and",
"required_operator": "and"
}
}
}