Skip to main content
POST
/
v1
/
form_fields
/
{form_field_id}
/
placements
Creates a Form Field Placement
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": "f0ed6372-9600-4f1c-8174-0bcf8d7c0547",
    "type": "form_field_placements",
    "attributes": {
      "form_field_id": "561c8bce-0b98-4642-bfa6-c138b0bdf047",
      "form_set_id": "9e40eef0-8e26-4835-8262-2a9d8200cf29",
      "form": "slack_new_incident_form",
      "position": 1,
      "required": false,
      "placement_operator": "and",
      "required_operator": "and",
      "non_editable": true
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

form_field_id
string
required

Body

application/vnd.api+json
data
object
required

Response

form_field_placement created with non_editable true

data
object
required