Licenses

Revoke a license key

Marks the key as revoked so it can no longer be activated — the same action as revoking the key in the Sellfy dashboard, where it can also be reactivated. Idempotent — revoking an already-revoked key just returns its state.

post/v1/licenses/revoke/

Request

  • Base URL: https://api.sellfy.com
  • URL: https://api.sellfy.com/v1/licenses/revoke/
  • Auth: HTTP bearer

Request body

product_idstring required

ID of the Sellfy product the license key belongs to. To find it, open Products → All products in your dashboard and pick Copy product ID from the options menu (⋯) of the product row. Alternatively, open the product for editing and copy the ID from the address bar: it is the last part of the URL

license_keystring required

The license key string.

Response

Current state of the license key.

validboolean required

Whether the key is currently usable.

statusstring required

issued (sold, not activated yet), activated (has at least one activation), or the reason the key is not valid: revoked or expired.

Changes

No recorded changes to this operation across all 1 revision of this API.