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": "904ce980-0c8f-4eda-8205-8e9d6d98e244",
"type": "user_notification_rules",
"attributes": {
"user_id": 544,
"delay": 2,
"position": 1,
"user_email_address_id": "e41d99f9-065f-4a6a-aa24-8650c289c312",
"user_call_number_id": "81657630-c4eb-4851-acf4-6ad87a3957ae",
"user_sms_number_id": null,
"user_device_id": "a849334e-2c5e-44b7-bdf5-fab6644548ca",
"enabled_contact_types": [
"device"
],
"created_at": "2025-10-18T10:31:15.228-07:00",
"updated_at": "2025-10-18T10:31:16.426-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": "904ce980-0c8f-4eda-8205-8e9d6d98e244",
"type": "user_notification_rules",
"attributes": {
"user_id": 544,
"delay": 2,
"position": 1,
"user_email_address_id": "e41d99f9-065f-4a6a-aa24-8650c289c312",
"user_call_number_id": "81657630-c4eb-4851-acf4-6ad87a3957ae",
"user_sms_number_id": null,
"user_device_id": "a849334e-2c5e-44b7-bdf5-fab6644548ca",
"enabled_contact_types": [
"device"
],
"created_at": "2025-10-18T10:31:15.228-07:00",
"updated_at": "2025-10-18T10:31:16.426-07:00"
}
}
}