Skip to main content
PUT
/
v1
/
notification_rules
/
{id}
Update an user notification rule
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": "43dfbc65-abb4-4c44-8f84-f5d6a81c43c9",
    "type": "user_notification_rules",
    "attributes": {
      "user_id": 608,
      "delay": 2,
      "position": 1,
      "user_email_address_id": "d5a70bf3-4d58-4aaa-97ad-312f1dfbf088",
      "user_call_number_id": "560f0fe4-9ab2-422c-8880-0e7d2ca20ce2",
      "user_sms_number_id": null,
      "user_device_id": "e54c8fed-13cf-4d3d-89b1-e9b4a993be1f",
      "enabled_contact_types": [
        "device"
      ],
      "created_at": "2025-12-05T21:29:34.497-08:00",
      "updated_at": "2025-12-05T21:29:35.323-08: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

user_notification_rule updated

data
object
required