Revoke License
/admin/licenses/{licenseId}/revokeRevokes an issued key for good: it no longer activates, and the buyer sees it as revoked on their order. A key an app sold has no order: it stops activating, and the app is not told. A key already revoked is answered as it is.
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/licenses/string/revoke"{ "id": 1, "key": "string", "status": "active", "variantId": "string", "orderId": "string", "customerId": "string", "sale": { "pluginCode": "string", "saleRef": "string" }, "validForMs": 0, "maxUses": 0, "uses": -9007199254740991, "createdAt": "string", "revokedAt": "string", "revokedReason": "seller", "replacedById": 1}Replace License POST
Revokes an issued key and issues another in its place, for the same order or the same sale of an app, with the same terms and the validity the first had left. The new key is generated, or taken from the product's unsold keys when the store supplies them; with none left, nothing changes. Answers the new key.
Disable Variant POST
Turns license keys off for a product variant: its later buyers get no key. It deletes the variant's terms and its unsold supplied keys for good, and turning keys on again does not bring them back. Licenses already sold keep working with their own terms.
