Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
user_notification_rule updated
Update a specific user notification rule by 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": "792eeff1-0d09-4a21-8759-7732f6d58ead",
"type": "user_notification_rules",
"attributes": {
"user_id": 535,
"delay": 2,
"position": 1,
"user_email_address_id": "5251d58f-8308-4553-85f2-31f720c42bfc",
"user_call_number_id": "bab24081-4e17-4d71-871b-7fff46f57cc4",
"user_sms_number_id": null,
"user_device_id": "db1f757e-a93a-41b3-88c3-1d1e5b4f84c3",
"enabled_contact_types": [
"device"
],
"created_at": "2025-10-07T10:13:21.325-07:00",
"updated_at": "2025-10-07T10:13:22.303-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
user_notification_rule updated
Show child attributes
Was this page helpful?
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": "792eeff1-0d09-4a21-8759-7732f6d58ead",
"type": "user_notification_rules",
"attributes": {
"user_id": 535,
"delay": 2,
"position": 1,
"user_email_address_id": "5251d58f-8308-4553-85f2-31f720c42bfc",
"user_call_number_id": "bab24081-4e17-4d71-871b-7fff46f57cc4",
"user_sms_number_id": null,
"user_device_id": "db1f757e-a93a-41b3-88c3-1d1e5b4f84c3",
"enabled_contact_types": [
"device"
],
"created_at": "2025-10-07T10:13:21.325-07:00",
"updated_at": "2025-10-07T10:13:22.303-07:00"
}
}
}