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": "43cfa62d-5d8b-46fd-8a2f-a3f2cb264e17",
"type": "user_notification_rules",
"attributes": {
"user_id": 613,
"delay": 2,
"position": 1,
"user_email_address_id": "63092fd7-6949-4beb-80a6-0bdac059fd19",
"user_call_number_id": "672ac838-392e-4936-b331-4d46ea67892f",
"user_sms_number_id": null,
"user_device_id": "112f5faa-5e26-422e-86d0-0a958e20a8b1",
"enabled_contact_types": [
"device"
],
"created_at": "2025-12-24T09:28:47.739-08:00",
"updated_at": "2025-12-24T09:28:48.251-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": "43cfa62d-5d8b-46fd-8a2f-a3f2cb264e17",
"type": "user_notification_rules",
"attributes": {
"user_id": 613,
"delay": 2,
"position": 1,
"user_email_address_id": "63092fd7-6949-4beb-80a6-0bdac059fd19",
"user_call_number_id": "672ac838-392e-4936-b331-4d46ea67892f",
"user_sms_number_id": null,
"user_device_id": "112f5faa-5e26-422e-86d0-0a958e20a8b1",
"enabled_contact_types": [
"device"
],
"created_at": "2025-12-24T09:28:47.739-08:00",
"updated_at": "2025-12-24T09:28:48.251-08:00"
}
}
}