PUT
/
v1
/
notification_rules
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/notification_rules/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "user_notification_rules",
    "attributes": {
      "delay": 123,
      "position": 123,
      "user_email_address_id": "<string>",
      "user_call_number_id": "<string>",
      "user_sms_number_id": "<string>",
      "user_device_id": "<string>",
      "enabled_contact_types": [
        "email"
      ]
    }
  }
}'
{
  "data": {
    "id": "eca4dbaa-fc8c-4973-98eb-9ff5fcd9defa",
    "type": "user_notification_rules",
    "attributes": {
      "user_id": 477,
      "delay": 2,
      "position": 1,
      "user_email_address_id": "6e8358a6-9500-431d-9d19-cbe35c567379",
      "user_call_number_id": "e5f29a10-522f-422e-bab4-04880abdef8e",
      "user_sms_number_id": null,
      "user_device_id": "054022fd-3520-4530-ba78-f03afdc6ce53",
      "enabled_contact_types": [
        "device"
      ],
      "created_at": "2025-04-18T18:24:15.064-07:00",
      "updated_at": "2025-04-18T18:24:16.512-07:00"
    }
  }
}

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
user_notification_rule updated
data
object
required