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": "d41a5848-7bf6-4f2d-a179-a6a9399b813e",
"type": "user_notification_rules",
"attributes": {
"user_id": 940,
"delay": 2,
"position": 1,
"user_email_address_id": "747bc603-5f82-4c7c-9463-9a5c36e63d24",
"user_call_number_id": "520a166b-0fb5-4023-aa83-c133793ade57",
"user_sms_number_id": null,
"user_device_id": "631b66f7-0cf6-474d-83cd-1a6417321eab",
"enabled_contact_types": [
"device"
],
"created_at": "2026-01-11T22:45:40.025-08:00",
"updated_at": "2026-01-11T22:45:40.556-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": "d41a5848-7bf6-4f2d-a179-a6a9399b813e",
"type": "user_notification_rules",
"attributes": {
"user_id": 940,
"delay": 2,
"position": 1,
"user_email_address_id": "747bc603-5f82-4c7c-9463-9a5c36e63d24",
"user_call_number_id": "520a166b-0fb5-4023-aa83-c133793ade57",
"user_sms_number_id": null,
"user_device_id": "631b66f7-0cf6-474d-83cd-1a6417321eab",
"enabled_contact_types": [
"device"
],
"created_at": "2026-01-11T22:45:40.025-08:00",
"updated_at": "2026-01-11T22:45:40.556-08:00"
}
}
}