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": "2ea52e28-91ef-4520-b2e4-be6634b9400e",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "2504788358b00854cd5971d00e265e1787563655e129caefadd2ade0547b103c",
"alert_urgency_id": "3cfce9b2-68f2-43ac-8d81-e0b3a1ec8abb",
"created_at": "2026-02-04T01:28:13.179-08:00",
"updated_at": "2026-02-04T01:28:17.741-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": "2ea52e28-91ef-4520-b2e4-be6634b9400e",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "2504788358b00854cd5971d00e265e1787563655e129caefadd2ade0547b103c",
"alert_urgency_id": "3cfce9b2-68f2-43ac-8d81-e0b3a1ec8abb",
"created_at": "2026-02-04T01:28:13.179-08:00",
"updated_at": "2026-02-04T01:28:17.741-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": []
}
}
}
}