Remove an outgoing PagerDuty integration

Delete a PagerDuty integration permanently.

DELETE https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations/{id}
id string required

The ID of the outgoing PagerDuty integration to remove.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

204

The outgoing PagerDuty integration is deleted. The response has no body.

401

The API token is missing or invalid.

401 Unauthorized
{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

The token is read-only, your role doesn't include Manage on Monitors, heartbeats, integrations, or the token can't be used for this API.

403 Forbidden
{
  "errors": "This API token is read-only and cannot be used for write operations."
}
404

The outgoing PagerDuty integration doesn't exist, or the token can't access it.

Example cURL

Delete an outgoing PagerDuty integration
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v3/outgoing-pagerduty-integrations/17 \
  --header "Authorization: Bearer $TOKEN"