Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
Update an user notification rule
Update a specific user notification rule by id
curl --request PUT \
--url https://api.rootly.com/v1/notification_rules/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "217fde39-721d-41e3-a037-c59b1a8a806c",
"type": "user_notification_rules",
"attributes": {
"user_id": 508,
"delay": 2,
"position": 1,
"user_email_address_id": "6790e831-b2d4-4a5e-a3f4-14bc1a1ba648",
"user_call_number_id": "9a70dd00-b0ee-4832-9c38-b8017bb5a10b",
"user_sms_number_id": null,
"user_device_id": "0835ec63-5efd-4672-94ba-6d429f073272",
"enabled_contact_types": [
"device"
],
"created_at": "2025-03-05T15:13:44.200-08:00",
"updated_at": "2025-03-05T15:13:45.463-08:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
user_notification_rules
Delay after which rule gets triggered
Position of the rule
User email address to which notification to be sent
User phone number to which notification to be sent
User sms number to which notification to be sent
User device to which notification to be sent
Contact types for which notification needs to be enabled
email
, sms
, call
, device
, non_critical_device
Response
Unique ID of the rule
user_notification_rules
Delay after which rule gets triggered
Position of the rule
User email address to which notification to be sent
User phone number to which notification to be sent
User sms number to which notification to be sent
User device to which notification to be sent
Contact types for which notification needs to be enabled
email
, sms
, call
, device
, non_critical_device
Date of creation
Date of last update
curl --request PUT \
--url https://api.rootly.com/v1/notification_rules/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "217fde39-721d-41e3-a037-c59b1a8a806c",
"type": "user_notification_rules",
"attributes": {
"user_id": 508,
"delay": 2,
"position": 1,
"user_email_address_id": "6790e831-b2d4-4a5e-a3f4-14bc1a1ba648",
"user_call_number_id": "9a70dd00-b0ee-4832-9c38-b8017bb5a10b",
"user_sms_number_id": null,
"user_device_id": "0835ec63-5efd-4672-94ba-6d429f073272",
"enabled_contact_types": [
"device"
],
"created_at": "2025-03-05T15:13:44.200-08:00",
"updated_at": "2025-03-05T15:13:45.463-08:00"
}
}
}