PUT
/
v1
/
alert_sources
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/alert_sources/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "a60d30b7-8fa1-4184-8016-07711554681c",
    "type": "alert_sources",
    "attributes": {
      "name": "GW 2",
      "source_type": "datadog",
      "status": "setup_incomplete",
      "secret": "5d68889f8423f0f6f74840231e3916503851ab676a38dbf1b529caffe95ebe69",
      "alert_urgency_id": "03927998-30b3-498c-b209-563d9b1c5569",
      "created_at": "2025-03-13T11:58:43.835-07:00",
      "updated_at": "2025-03-13T11:58:48.056-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

Body

application/vnd.api+json
data
object
required

Response

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