PUT
/
v1
/
incident_form_field_selections
/
{id}
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": "e08cb90c-5494-48f8-bff9-83dd85acf1d3",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "43d46347-73c0-4590-a680-378eb9a05e40",
      "custom_field_id": 31,
      "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
      "form_field": {
        "id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
        "team_id": 198,
        "slug": "dolor-animi-temporibus-est",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Dolor animi temporibus est.",
        "description": "Vitae labore magnam earum.",
        "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-03-19T07:51:35.310-07:00",
        "created_at": "2025-03-19T07:51:35.310-07:00",
        "options": [
          {
            "id": "12ee7a5c-5bcc-4244-b8e3-61872a324905",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "value": "Maiores dolorum iusto exercitationem.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-03-19T07:51:35.370-07:00",
            "created_at": "2025-03-19T07:51:35.370-07:00"
          },
          {
            "id": "bd8c8648-c4ca-4aa0-9a5f-466aaaedbbb7",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "value": "Corporis numquam at voluptas.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-03-19T07:51:35.374-07:00",
            "created_at": "2025-03-19T07:51:35.374-07:00"
          }
        ],
        "positions": [
          {
            "id": "aa25759c-b3b7-4273-85d8-7f27efab693d",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "form": "slack_new_incident_form",
            "position": 1
          },
          {
            "id": "a9c055ec-ae6a-4438-9568-9be88493e3aa",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "form": "web_update_incident_form",
            "position": 1
          },
          {
            "id": "f689db85-ae1d-4d2d-a63b-fc30125709b6",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "form": "slack_update_incident_form",
            "position": 1
          },
          {
            "id": "f22829b9-4e0a-4271-b411-a2bbf90e36be",
            "form_field_id": "ac342775-cbe1-4e0a-b956-30dbf3e1f442",
            "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

200
application/vnd.api+json
incident_form_field_selection updated
data
object
required