DELETE
/
v1
/
alert_sources
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/alert_sources/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "20ecbcc9-3790-4dff-8133-240af4b09dbe",
    "type": "alert_sources",
    "attributes": {
      "name": "Alert Source 4",
      "source_type": "datadog",
      "status": "setup_incomplete",
      "secret": "5eca3c0fb5cc88e61f4eadc8d8eba18e84f71034857aa59e9cfb2fab74f312ba",
      "alert_urgency_id": "8a9fe9b4-b2bf-4c6c-9a70-6d93ce16960b",
      "created_at": "2025-03-19T17:35:57.517-07:00",
      "updated_at": "2025-03-19T17:36:01.937-07:00",
      "webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
      "sourceable_attributes": {},
      "alert_template_attributes": {}
    },
    "relationships": {
      "alert_source_urgency_rules": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/vnd.api+json
alert source deleted
data
object
required