Skip to main content
DELETE
/
subscriptions
/
{external_subscription_id}
/
entitlements
/
{feature_code}
Remove an entitlement from a subscription
curl --request DELETE \
  --url https://api-m.sandbox.paypal.com/v1/commerce/billing/subscriptions/{external_subscription_id}/entitlements/{feature_code} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "debug_id": "<string>",
  "message": "<string>",
  "details": [
    {
      "field": "<string>",
      "value": "<string>",
      "location": "<string>",
      "issue": "<string>",
      "description": "<string>"
    }
  ]
}

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

The external ID of the subscription

feature_code
string
required

The unique code of the feature

Response

Override removed successfully