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": "8cb5ba59-b126-4e69-bd6d-51bcee4fc87d",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "fb36f083cff00b55ce6ce8546d3e2e9ef8def84ae0b061a3300e06e664cbfadc",
"alert_urgency_id": "a978d2ec-5f4f-4518-a3ba-a00f8a4c767c",
"created_at": "2026-02-07T16:44:48.333-08:00",
"updated_at": "2026-02-07T16:44:51.038-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": "8cb5ba59-b126-4e69-bd6d-51bcee4fc87d",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "fb36f083cff00b55ce6ce8546d3e2e9ef8def84ae0b061a3300e06e664cbfadc",
"alert_urgency_id": "a978d2ec-5f4f-4518-a3ba-a00f8a4c767c",
"created_at": "2026-02-07T16:44:48.333-08:00",
"updated_at": "2026-02-07T16:44:51.038-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": []
}
}
}
}