Skip to main content
DELETE
/
products
/
{productId}
/
licenses
/
{licenseId}
Revoke a license
curl --request DELETE \
  --url https://pandabase.io/api/products/{productId}/licenses/{licenseId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Storefront-Id: <x-storefront-id>'
{
  "ok": true,
  "data": {
    "message": "License revoked successfully"
  }
}

Authorizations

Authorization
string
header
required

V3 API key authentication. Format: sk_v3_xxxxx

Headers

X-Storefront-Id
string
required

Your storefront/shop ID

Path Parameters

productId
string
required
licenseId
string
required

Response

License revoked successfully

ok
boolean
Example:

true

data
object