PUT
/
v1
/
incident_custom_field_selections
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/incident_custom_field_selections/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_custom_field_selections",
    "attributes": {
      "value": "<string>",
      "selected_option_ids": [
        123
      ]
    }
  }
}'
{
  "data": {
    "id": "1",
    "type": "incident_custom_field_selections",
    "attributes": {
      "custom_field_id": 46,
      "incident_id": "e2a8e11a-a0f4-42a1-91b6-425051ca2d8b",
      "value": "Test update custom field",
      "selected_option_ids": []
    }
  }
}

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_custom_field_selection updated

The response is of type object.