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": "45019de1-49e5-4a8d-ae88-8707452c3596",
"type": "user_notification_rules",
"attributes": {
"user_id": 1149,
"delay": 2,
"position": 1,
"user_email_address_id": "c346ace3-82e1-4bf5-a5cd-11c8c84a7d7b",
"user_call_number_id": "19fdd8fb-4841-4629-aebc-70d3f67bf1de",
"user_sms_number_id": null,
"user_device_id": "bb4e67a7-5b10-42b7-9728-f66f0d314464",
"enabled_contact_types": [
"device"
],
"notification_type": "quiet",
"created_at": "2026-02-21T14:35:25.315-08:00",
"updated_at": "2026-02-21T14:35:25.891-08: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": "45019de1-49e5-4a8d-ae88-8707452c3596",
"type": "user_notification_rules",
"attributes": {
"user_id": 1149,
"delay": 2,
"position": 1,
"user_email_address_id": "c346ace3-82e1-4bf5-a5cd-11c8c84a7d7b",
"user_call_number_id": "19fdd8fb-4841-4629-aebc-70d3f67bf1de",
"user_sms_number_id": null,
"user_device_id": "bb4e67a7-5b10-42b7-9728-f66f0d314464",
"enabled_contact_types": [
"device"
],
"notification_type": "quiet",
"created_at": "2026-02-21T14:35:25.315-08:00",
"updated_at": "2026-02-21T14:35:25.891-08:00"
}
}
}