Delete a specific alert source by id
curl --request DELETE \
--url https://api.rootly.com/v1/alert_sources/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "5627ed2a-9a56-48f4-965c-53e13d05577a",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "1988e04e8ee14a25dc0867b51852a54a1fb2b3755cab652a9e0b2333aa112b23",
"alert_urgency_id": "8f787824-e776-4048-9ce0-25335b241692",
"created_at": "2025-12-21T12:05:49.322-08:00",
"updated_at": "2025-12-21T12:05:51.659-08:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"owner_group_ids": [],
"alert_source_urgency_rules_attributes": [],
"alert_source_fields_attributes": [],
"sourceable_attributes": null,
"alert_template_attributes": null,
"resolution_rule_attributes": null
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
},
"alert_source_fields": {
"data": []
}
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/alert_sources/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "5627ed2a-9a56-48f4-965c-53e13d05577a",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "1988e04e8ee14a25dc0867b51852a54a1fb2b3755cab652a9e0b2333aa112b23",
"alert_urgency_id": "8f787824-e776-4048-9ce0-25335b241692",
"created_at": "2025-12-21T12:05:49.322-08:00",
"updated_at": "2025-12-21T12:05:51.659-08:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"owner_group_ids": [],
"alert_source_urgency_rules_attributes": [],
"alert_source_fields_attributes": [],
"sourceable_attributes": null,
"alert_template_attributes": null,
"resolution_rule_attributes": null
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
},
"alert_source_fields": {
"data": []
}
}
}
}