Deactivate a license

Deactivate License

Deactivate a license key through the API.

POST /wp-json/slswc/v1/deactivate

license_keyString requiredSs23dhsjhdjshjhfddfrThe license key to be activated. This must be a valid.
slugString requiredtestpluginThe slug of the software. This must be a valid slug unique to each software product
domainString optionalexample.comThe domain the license is activated on.
environmentString optionalliveThe server environment the license is activated on. Expects live or staging, default live

For the request to be acknowledged and processed, the license key, domain and slug will must be valid for the corresponding order for the license key.

Example Response

    "status": "deactivated",
    "slug": "test-plugin",
    "message": "The license has been successfully deactivated for this domain.",
    "expires": "2019-08-30 00:00:00",
    "license": {
        "valid_slug": true,
        "exists": true,
        "deleted": false,
        "current_version": null,
        "order": {}
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Scroll to Top