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": "dae968ca-173b-4c9e-a898-fa57e7cabedb",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "6162e7187461b761efc72dc4b47d04b182cc7f7cf6c81710a4e8362293f53160",
"alert_urgency_id": "c5ebf3b6-4161-43c4-b18e-cbf4be813b25",
"created_at": "2026-01-10T22:53:31.206-08:00",
"updated_at": "2026-01-10T22:53:34.013-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": "dae968ca-173b-4c9e-a898-fa57e7cabedb",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "6162e7187461b761efc72dc4b47d04b182cc7f7cf6c81710a4e8362293f53160",
"alert_urgency_id": "c5ebf3b6-4161-43c4-b18e-cbf4be813b25",
"created_at": "2026-01-10T22:53:31.206-08:00",
"updated_at": "2026-01-10T22:53:34.013-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": []
}
}
}
}