Support deactivate license by licenseKey and instanceName
Closed this issue · 1 comments
hanrw commented
for active api which accept license_key and instance_name
curl -X POST https://api.lemonsqueezy.com/v1/licenses/activate \
-H "Accept: application/json" \
-d "license_key=38b1460a-5104-4067-a91d-77b872934d51" \
-d "instance_name=Test"
so it's better use same parameters when deactivate license
curl -X POST https://api.lemonsqueezy.com/v1/licenses/deactivate \
-H "Accept: application/json" \
-d "license_key=38b1460a-5104-4067-a91d-77b872934d51" \
-d "instance_id=f90ec370-fd83-46a5-8bbd-44a241e78665"