Update a specific form_field position by id
curl --request PUT \
--url https://api.rootly.com/v1/form_field_positions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_positions",
"attributes": {
"form_field_id": "<string>",
"form": "web_new_incident_form",
"position": 123
}
}
}
'{
"data": {
"id": "18b5afeb-0809-4e2d-9efb-346074def432",
"type": "form_field_positions",
"attributes": {
"form_field_id": "79d3e003-bada-4fd2-a4fc-e1e2b939a87c",
"form": "web_update_incident_form",
"position": 2
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_field_positions Show child attributes
The ID of the form field.
The form for the position
web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_incident_cancellation_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_incident_cancellation_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form The position of the form_field_position
form_field_position updated
Show child attributes
Unique ID of the form_field_position
form_field_positions Show child attributes
The ID of the form field.
The form for the position
web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_incident_cancellation_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_incident_cancellation_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form The position of the form_field_position
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/form_field_positions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_positions",
"attributes": {
"form_field_id": "<string>",
"form": "web_new_incident_form",
"position": 123
}
}
}
'{
"data": {
"id": "18b5afeb-0809-4e2d-9efb-346074def432",
"type": "form_field_positions",
"attributes": {
"form_field_id": "79d3e003-bada-4fd2-a4fc-e1e2b939a87c",
"form": "web_update_incident_form",
"position": 2
}
}
}