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": "3ca8388f-5932-4a46-b518-0aea07a0cfcf",
"type": "form_field_placements",
"attributes": {
"form_field_id": "a112c5d8-cd1f-43bf-9950-4044056a858b",
"form_set_id": "b98ae9e3-aab9-4676-b0d5-138d0f1d2588",
"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": "3ca8388f-5932-4a46-b518-0aea07a0cfcf",
"type": "form_field_placements",
"attributes": {
"form_field_id": "a112c5d8-cd1f-43bf-9950-4044056a858b",
"form_set_id": "b98ae9e3-aab9-4676-b0d5-138d0f1d2588",
"form": "web_new_incident_form",
"position": 5,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": false
}
}
}