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": "1ef48fcf-d2f7-4e2c-bb25-a722d1afc9f2",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 7",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "2beea44452fe1144906d410ab2d4a29af50407c131dc86624a71d75167a30fc0",
"alert_urgency_id": "9b46a48c-30b7-4bf4-9b67-95d22fd665b3",
"created_at": "2025-09-01T03:36:05.364-07:00",
"updated_at": "2025-09-01T03:36:10.321-07: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": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
alert source deleted
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/alert_sources/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "1ef48fcf-d2f7-4e2c-bb25-a722d1afc9f2",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 7",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "2beea44452fe1144906d410ab2d4a29af50407c131dc86624a71d75167a30fc0",
"alert_urgency_id": "9b46a48c-30b7-4bf4-9b67-95d22fd665b3",
"created_at": "2025-09-01T03:36:05.364-07:00",
"updated_at": "2025-09-01T03:36:10.321-07: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": []
}
}
}
}