Creates a new form field_position from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/positions \
--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": "00701362-b353-4250-ae24-e95047bac097",
"type": "form_field_positions",
"attributes": {
"form_field_id": "95a3315a-6bd8-4bff-8c9a-4defd3a461a4",
"form": "web_new_incident_form",
"position": 2
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_position created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/positions \
--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": "00701362-b353-4250-ae24-e95047bac097",
"type": "form_field_positions",
"attributes": {
"form_field_id": "95a3315a-6bd8-4bff-8c9a-4defd3a461a4",
"form": "web_new_incident_form",
"position": 2
}
}
}