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",
"non_editable": true
}
}
}
'{
"data": {
"id": "41a48bef-840c-4c76-b720-7d809e46ca23",
"type": "form_field_placements",
"attributes": {
"form_field_id": "f88cd6ed-c196-44d2-b8e3-9ffb0b49d821",
"form_set_id": "8309d845-304a-45e6-a2d7-8e91a2b6645a",
"form": "web_new_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": true
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_field_placement updated with non_editable
Show child attributes
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",
"non_editable": true
}
}
}
'{
"data": {
"id": "41a48bef-840c-4c76-b720-7d809e46ca23",
"type": "form_field_placements",
"attributes": {
"form_field_id": "f88cd6ed-c196-44d2-b8e3-9ffb0b49d821",
"form_set_id": "8309d845-304a-45e6-a2d7-8e91a2b6645a",
"form": "web_new_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": true
}
}
}