---
title: "Remove subscription alert"
method: DELETE
path: "/subscriptions/{external_subscription_id}/alerts/{alert_code}"
tags: ["Alerts"]
---

# Remove subscription alert

`DELETE /subscriptions/{external_subscription_id}/alerts/{alert_code}`

## Request

- Base URL: `https://api-m.sandbox.paypal.com`
- URL: `https://api-m.sandbox.paypal.com/subscriptions/{external_subscription_id}/alerts/{alert_code}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/api/oauth-proxy` scopes: `read`, `write`
- TypeScript: <https://skmtc.dev/paypal/apis/usage-based-billing-api/docs/subscriptions/:external_subscription_id/alerts/:alert_code/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently deletes a subscription alert identified by its unique code. This operation cannot be undone and will immediately stop all monitoring associated with this alert configuration.

## Path parameters

- `external_subscription_id` string, required
- `alert_code` string, required

## Response `204`

Alert successfully removed from the system. All monitoring associated with this alert has been permanently discontinued. No content is returned in the response body.

## Other responses

- `404`: Resource Not Found.
- `422`: Bad Request - Invalid input data
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/paypal/apis/usage-based-billing-api.md) - [All operations](https://skmtc.dev/paypal/apis/usage-based-billing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paypal/apis/usage-based-billing-api/revisions/22fb46514ac4?raw)
