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": "fdab8d24-008e-4827-836e-88b58f2a7fda",
"type": "form_field_placements",
"attributes": {
"form_field_id": "290f2b08-3947-47ca-98e3-bcc016bbe5fb",
"form_set_id": "28612aa1-a320-4473-8279-3bff05bf83cd",
"form": "web_new_incident_form",
"position": 5,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": false
}
}
}
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": "fdab8d24-008e-4827-836e-88b58f2a7fda",
"type": "form_field_placements",
"attributes": {
"form_field_id": "290f2b08-3947-47ca-98e3-bcc016bbe5fb",
"form_set_id": "28612aa1-a320-4473-8279-3bff05bf83cd",
"form": "web_new_incident_form",
"position": 5,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": false
}
}
}