Explore documentation

Update a Datadog integration

Update an existing Datadog integration. Send only the parameters you wish to change (eg. paused).

PATCH https://uptime.betterstack.com/api/v2/datadog-integrations/{datadog_integration_id}

URL parameters

datadog_integration_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
*
200

Response body

{
  "data": {
    "id": "37",
    "type": "datadog_integration",
    "attributes": {
      "call": false,
      "sms": false,
      "email": true,
      "team_wait": 180,
      "recovery_period": null,
      "policy_id": null,
      "push": true,
      "name": "Test Again",
      "team_name": "Testing",
      "paused": false,
      "alerting_rule": "alert",
      "webhook_url": "https://uptime.betterstack.dev/api/v1/datadog/webhook/[token]"
    }
  }
}

Example cURL

Example
curl -X "PATCH" "https://uptime.betterstack.com/api/v2/datadog-integrations/37" \
     -H "Authorization: Bearer $TOKEN" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "name": "Test Again"
}'