PUT
/
v1
/
incident_form_field_selections
/
{id}
Update an incident form field selection
curl --request PUT \
  --url https://api.rootly.com/v1/incident_form_field_selections/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_form_field_selections",
    "attributes": {
      "value": "<string>",
      "selected_catalog_entity_ids": [
        "<string>"
      ],
      "selected_group_ids": [
        "<string>"
      ],
      "selected_option_ids": [
        "<string>"
      ],
      "selected_service_ids": [
        "<string>"
      ],
      "selected_functionality_ids": [
        "<string>"
      ],
      "selected_user_ids": [
        123
      ]
    }
  }
}'
{
  "data": {
    "id": "b44640f4-77ad-49a8-8959-648b8cf1a73d",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "b670cd4a-e36e-48a1-8964-b1f8120d3a16",
      "custom_field_id": 176,
      "form_field_id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
      "form_field": {
        "id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
        "team_id": 193,
        "slug": "culpa-cumque-dolorem-omnis",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Culpa cumque dolorem omnis.",
        "description": "Consequatur non eaque ut.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-09-05T08:44:16.555-07:00",
        "created_at": "2025-09-05T08:44:16.555-07:00",
        "options": [
          {
            "id": "e6e077e2-851a-403e-b3e4-120588434127",
            "form_field_id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
            "value": "Vel saepe et sint.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-09-05T08:44:16.603-07:00",
            "created_at": "2025-09-05T08:44:16.603-07:00"
          },
          {
            "id": "542753ce-6d8c-4a89-96c9-e5ded7da9d8a",
            "form_field_id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
            "value": "Ipsum ullam esse voluptatem.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-09-05T08:44:16.608-07:00",
            "created_at": "2025-09-05T08:44:16.608-07:00"
          }
        ],
        "positions": [
          {
            "id": "bc313ef8-de85-4863-86b6-6dfb4b22b601",
            "form_field_id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
            "form": "web_new_incident_form",
            "position": 1
          },
          {
            "id": "7ea53d99-1d81-4d34-a71d-fdd5bdbe9f1d",
            "form_field_id": "d5a8cbed-098a-4446-89aa-1cbf13e98860",
            "form": "web_update_incident_form",
            "position": 1
          }
        ]
      },
      "value": "Test update custom field",
      "selected_group_ids": [],
      "selected_groups": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_option_ids": [],
      "selected_options": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_service_ids": [],
      "selected_services": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_functionality_ids": [],
      "selected_functionalities": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_catalog_entity_ids": [],
      "selected_catalog_entities": {
        "id": null,
        "value": "Test update custom field"
      },
      "selected_user_ids": [],
      "selected_users": {
        "id": null,
        "value": "Test update custom field"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

incident_form_field_selection updated

The response is of type object.