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": "e8335077-9d6c-4282-82e8-21274614dc04",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "63f5972a-75dd-490d-8916-4fd773da6ebd",
      "custom_field_id": 175,
      "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
      "form_field": {
        "id": "06082092-2557-488f-81e1-4dd96227e842",
        "team_id": 186,
        "slug": "est-rerum-repellendus-et",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Est rerum repellendus et.",
        "description": "Quisquam maiores eveniet et.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form",
          "slack_new_incident_form",
          "slack_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-07-25T16:55:37.829-07:00",
        "created_at": "2025-07-25T16:55:37.829-07:00",
        "options": [
          {
            "id": "db4f99a9-c52d-4ef4-82e8-9b8021c6fdbe",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "value": "Et saepe corporis magnam.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-07-25T16:55:37.879-07:00",
            "created_at": "2025-07-25T16:55:37.879-07:00"
          },
          {
            "id": "084123c2-c9ed-4c63-895a-5a0cab0e3f7e",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "value": "Nesciunt quo deserunt voluptas.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-07-25T16:55:37.882-07:00",
            "created_at": "2025-07-25T16:55:37.882-07:00"
          }
        ],
        "positions": [
          {
            "id": "9b37fec2-b250-4c63-b3aa-3da8edf9be54",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "form": "web_new_incident_form",
            "position": 1
          },
          {
            "id": "797a84a0-0fde-4573-93ba-410f9f311217",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "form": "slack_new_incident_form",
            "position": 1
          },
          {
            "id": "2b6afc6e-7c4b-4f26-befb-7decaa5a498a",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "b2487483-ac70-4ff7-9db1-3c5419e43841",
            "form_field_id": "06082092-2557-488f-81e1-4dd96227e842",
            "form": "slack_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.