POST
/
v1
/
form_fields
/
{form_field_id}
/
placements
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"
    }
  }
}'
{
  "data": {
    "id": "c9924831-3788-4e5d-b6f9-c0ca1d0cdf0b",
    "type": "form_field_placements",
    "attributes": {
      "form_field_id": "b262cd3d-8361-4ead-a86a-8affb737f2e5",
      "form_set_id": "77bbd520-2dca-450d-abe3-0d16059dc8ef",
      "form": "web_update_incident_form",
      "position": 1,
      "required": false,
      "placement_operator": "and",
      "required_operator": "and"
    }
  }
}

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

Response

201
application/vnd.api+json
form_field_placement created

The response is of type object.