Remove an Amazon SNS integration

Delete an Amazon SNS integration permanently. The integration's URL stops accepting notifications. Remove the subscription from your SNS topic in AWS too.

DELETE https://incidents.betterstack.com/api/v3/amazon-sns-integrations/{id}

URL parameters

id
required string

Query parameters

team_id
string

Headers

Authorization
required string
204
401

Response body

{
  "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

Response body

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

Example cURL

Delete an Amazon SNS integration
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v3/amazon-sns-integrations/5 \
  --header "Authorization: Bearer $TOKEN"