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": "5a7ea742-61f1-401a-9093-f4548b58cfb5",
"type": "user_notification_rules",
"attributes": {
"user_id": 509,
"delay": 2,
"position": 1,
"user_email_address_id": "f0673dac-7a93-4f3e-adfc-9303c1611449",
"user_call_number_id": "e0f00fbd-86e4-42ea-a739-c6a2bd61f3d8",
"user_sms_number_id": null,
"user_device_id": "2668f91f-5bb0-4bba-b1be-0f257c33952b",
"enabled_contact_types": [
"device"
],
"created_at": "2025-09-16T17:18:43.853-07:00",
"updated_at": "2025-09-16T17:18:44.803-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": "5a7ea742-61f1-401a-9093-f4548b58cfb5",
"type": "user_notification_rules",
"attributes": {
"user_id": 509,
"delay": 2,
"position": 1,
"user_email_address_id": "f0673dac-7a93-4f3e-adfc-9303c1611449",
"user_call_number_id": "e0f00fbd-86e4-42ea-a739-c6a2bd61f3d8",
"user_sms_number_id": null,
"user_device_id": "2668f91f-5bb0-4bba-b1be-0f257c33952b",
"enabled_contact_types": [
"device"
],
"created_at": "2025-09-16T17:18:43.853-07:00",
"updated_at": "2025-09-16T17:18:44.803-07:00"
}
}
}