Save up to 75% on Lifetime Plans – Limited Time Offer, Don't Miss Out!
Winter Sale Is Here
Exclusive Discount on Lifetime Plans
hrs
min
sec

Save up to 75% on Lifetime Plans – Limited Time Offer, Don't Miss Out!

Developer documentation

Deactivate a license

Estimated reading: 1 minute 5057 views

DESCRIPTION

Decrease the times_activated value by one (1). It is not possible to deactivate a license key whose times_activated is null or already zero. Deactivations can be performed by the licensee key and by passing the activation token. When only the license key is passed in the deactivate license API, then all activations will become inactive. To deactivate a single activation, you will use this route /wp-json/lmfwc/v2/licenses/deactivate/{license_key} like this. In the parameters, you will pass the token.

REQUEST URL

GET

/wp-json/lmfwc/v2/licenses/deactivate/{license_key}

RESPONSE EXAMPLE:

{

    “success”: true,

    “data”: {

        “id”: 73,

        “orderId”: 171,

        “productId”: 20,

        “userId”: 1,

        “licenseKey”: “API-AOA-NAI-TAT-MIO-TTM-OOA-GEN”,

        “expiresAt”: “2022-08-18 07:01:42”,

        “validFor”: 15,

        “source”: 3,

        “status”: 1,

        “timesActivated”: 0,

        “timesActivatedMax”: 3,

        “createdAt”: “2022-08-03 06:55:15”,

        “createdBy”: 1,

        “updatedAt”: “2022-08-03 07:09:33”,

        “updatedBy”: 1

    }

}
Share this Doc

Deactivate a license

Or copy link

CONTENTS
Scroll to Top
license manager plugin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.