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": "3f245a17-f847-412d-8d22-b8ef3f2cdeb4",
"type": "form_field_positions",
"attributes": {
"form_field_id": "3be15e88-ea6f-4c2c-95c0-b057a72748c8",
"form": "slack_new_incident_form",
"position": 2
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_position updated
The response is of type object
.
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": "3f245a17-f847-412d-8d22-b8ef3f2cdeb4",
"type": "form_field_positions",
"attributes": {
"form_field_id": "3be15e88-ea6f-4c2c-95c0-b057a72748c8",
"form": "slack_new_incident_form",
"position": 2
}
}
}