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": 28,
      "incident_id": "8d2b894d-5a5c-4b7c-a608-fcac3ee829df",
      "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
data
object
required

Response

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

Was this page helpful?