Skip to main content
DELETE
/
subscriptions
/
{external_subscription_id}
/
alerts
/
{alert_code}
Remove subscription alert
curl --request DELETE \
  --url https://api-m.sandbox.paypal.com/v1/commerce/billing/subscriptions/{external_subscription_id}/alerts/{alert_code} \
  --header 'Authorization: Bearer <token>'
{
  "status": "204 No Content",
  "headers": {
    "paypal-debug-id": "f772b19c-c5c2-426d-8871-346a6cd094c5"
  }
}

Authorizations

Authorization
string
header
required

Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.

Path Parameters

external_subscription_id
string
required

Unique external identifier for the subscription. This ID is used to track the subscription across systems and must be provided to access subscription-specific alerts.

Example:

"SUB_1752779018503"

alert_code
string
required

Unique identifier code for the specific alert within the subscription context. This code is customer-defined during alert creation and used for all subsequent operations on the alert.

Example:

"ALERT_CODE_1234567890"

Response

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