SellMyCode Developers
Licences

Slots & deactivation

#Deactivate pauses, only the author frees

  • Deactivate pauses the site: it stops being licensed but KEEPS its slot, so a licence cannot be cycled across new domains by deactivating and activating.
  • The same domain can always be activated again β€” code "reactivated", no extra slot used, a new activation_token issued.
  • A new domain needs a free slot. When none is left the answer is activation_limit_reached with a hint and transfer_url.
  • Only the author frees a slot, by revoking a site under Workspace β†’ Licenses (searchable by item, site, purchase code and buyer). Buyers cannot release sites themselves. A revoked domain gets slot_released = true and needs a free slot to activate again.
  • If a licence is abused, the author can block one domain (site_blocked: that domain cannot activate the code again until unblocked and it keeps its slot, so the licence cannot be moved elsewhere; other sites keep working) or the whole licence (license_blocked on every call for that code). The buyer is told the reason and can appeal to SellMyCode, whose admins have the final word. Downloads are not affected. /api/purchases/validation reports license_blocked too.

#Deactivating a site

POST/api/license/deactivate

Send purchase_code, item_id, domain, nonce and the activation_token you stored at activation. Without the token the call is refused, so knowing a buyer's code and domain is not enough to pause their site.

Was this page helpful?