Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
form_field_placement created with non_editable true
Creates a new form_field_placement from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/placements \
--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",
"non_editable": true
}
}
}'
{
"data": {
"id": "65e868a0-a647-4810-b17e-c89b24a6347c",
"type": "form_field_placements",
"attributes": {
"form_field_id": "bb3acae8-7b0b-4e9f-9953-84fa3f423630",
"form_set_id": "22f97438-d198-4d6a-bddb-e3b31d563f6a",
"form": "slack_new_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": true
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
form_field_placement created with non_editable true
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/placements \
--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",
"non_editable": true
}
}
}'
{
"data": {
"id": "65e868a0-a647-4810-b17e-c89b24a6347c",
"type": "form_field_placements",
"attributes": {
"form_field_id": "bb3acae8-7b0b-4e9f-9953-84fa3f423630",
"form_set_id": "22f97438-d198-4d6a-bddb-e3b31d563f6a",
"form": "slack_new_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": true
}
}
}