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": "35aef318-42f7-4738-aa1b-72d8e3b7422a",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "575fbb31260520f6f3fe01a484096cd4f721eb0fbb46869cfe4cec99b85f02d5",
"alert_urgency_id": "0348f2e9-a331-4fdf-9fe6-4b743c5ccbd2",
"created_at": "2026-01-21T01:58:59.751-08:00",
"updated_at": "2026-01-21T01:59:03.691-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": "35aef318-42f7-4738-aa1b-72d8e3b7422a",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 21",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "575fbb31260520f6f3fe01a484096cd4f721eb0fbb46869cfe4cec99b85f02d5",
"alert_urgency_id": "0348f2e9-a331-4fdf-9fe6-4b743c5ccbd2",
"created_at": "2026-01-21T01:58:59.751-08:00",
"updated_at": "2026-01-21T01:59:03.691-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": []
}
}
}
}