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": "2b4f5195-e7a2-47c3-9709-314c6534363a",
"type": "form_field_positions",
"attributes": {
"form_field_id": "c1b6bc6b-ad0e-47c5-8f0f-13948c04b650",
"form": "web_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": "2b4f5195-e7a2-47c3-9709-314c6534363a",
"type": "form_field_positions",
"attributes": {
"form_field_id": "c1b6bc6b-ad0e-47c5-8f0f-13948c04b650",
"form": "web_new_incident_form",
"position": 2
}
}
}