Update a PagerDuty integration

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

PATCH https://uptime.betterstack.com/api/v2/pager-duty-webhooks/{pager_duty_webhook_id}

URL parameters

pager_duty_webhook_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
*
200

Response body

{
  "data": {
    "id": "17",
    "type": "pager_duty_webhook",
    "attributes": {
      "name": "Test Again",
      "key": "[key]"
    }
  }
}

Example cURL

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