Skip to main content
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": "f849b0b1-fa6b-4055-b13a-158b86334035",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "903eaec6-0306-4038-b2f5-b7548762645f",
      "custom_field_id": 176,
      "form_field_id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
      "form_field": {
        "id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
        "team_id": 250,
        "slug": "ducimus-et-exercitationem-eum",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Ducimus et exercitationem eum.",
        "description": "Voluptate quia deserunt aut.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-11-19T13:26:03.559-08:00",
        "created_at": "2025-11-19T13:26:03.559-08:00",
        "options": [
          {
            "id": "22feb74d-7657-40d3-8e06-1f4ce95c5933",
            "form_field_id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
            "value": "Et ad alias nam.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-11-19T13:26:03.587-08:00",
            "created_at": "2025-11-19T13:26:03.587-08:00"
          },
          {
            "id": "b1da060b-02ab-403b-a068-410be079c6af",
            "form_field_id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
            "value": "Qui officia non ipsa.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-11-19T13:26:03.591-08:00",
            "created_at": "2025-11-19T13:26:03.591-08:00"
          }
        ],
        "positions": [
          {
            "id": "e3b9c8b9-bb0d-469a-ae85-71fd0380f8e6",
            "form_field_id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "5e47cea0-7b4a-4b15-8cce-ea12289504a9",
            "form_field_id": "b4f9f9e6-e574-4bb2-a501-0fc00b42ed1f",
            "form": "web_new_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
data
object
required

Response

incident_form_field_selection updated

data
object
required