Skip to main content
DELETE
/
plans
/
{plan_code}
/
entitlements
/
{feature_code}
Delete an entitlement
curl --request DELETE \
  --url https://api-m.sandbox.paypal.com/v1/commerce/billing/plans/{plan_code}/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

plan_code
string
required

The unique code of the plan

feature_code
string
required

The unique code of the feature

Response

Entitlement deleted successfully