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": "2302e4d9-73e8-48a1-9d57-1611688fe097",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 4",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "ebf71dda6fa76b60a3a0ad422f8bd49c19d9db81c7afad43525672cfbdca7c40",
"alert_urgency_id": "af0f43fe-0dcc-4940-9c09-8575c2788613",
"created_at": "2025-08-11T20:40:14.413-07:00",
"updated_at": "2025-08-11T20:40:18.281-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": "2302e4d9-73e8-48a1-9d57-1611688fe097",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 4",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "ebf71dda6fa76b60a3a0ad422f8bd49c19d9db81c7afad43525672cfbdca7c40",
"alert_urgency_id": "af0f43fe-0dcc-4940-9c09-8575c2788613",
"created_at": "2025-08-11T20:40:14.413-07:00",
"updated_at": "2025-08-11T20:40:18.281-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": []
}
}
}
}