Endpoint
This endpoint requires authentication with the
edit_products scope.Authentication
This endpoint requires an OAuth access token with theedit_products scope. Include your access token in the request:
Request Parameters
Your OAuth access token with
edit_products scopeThe license key to disable
The unique identifier for your product (recommended)
The product’s permalink (either unique or custom). Can be used instead of
product_id.Response Fields
Whether the operation was successful
The current usage count for this license
Complete purchase information associated with this license (same structure as the verify endpoint)
Examples
Disable a license
Success Response
Error Responses
Unauthorized (401)
Forbidden (403)
Returned when the access token doesn’t have theedit_products scope.
Not Found (404)
Returned when the license doesn’t exist or doesn’t belong to your product.Common Use Cases
Revoke Access for Policy Violations
If a customer violates your terms of service or shares their license key publicly, you can disable their license to prevent unauthorized use.Handle Chargebacks or Refunds
When a purchase is refunded or charged back, you may want to disable the associated license key to prevent continued access to your product.Enforce License Limits
If you discover that a license is being used beyond its allowed scope (e.g., on too many devices), you can disable it until the customer contacts you.Disabling a license does not delete it. The license can be re-enabled at any time using the enable endpoint.