Seller Delete License

POST
https://authsecure.com/api/seller/

End/Modify user data and sessions directly securely.

Delete license keys by exact key or by subscription.

Deleted licenses cannot be recovered.

Endpoint Details

GET /api/seller_delete_license.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
typeYesMust be delete
licenseNoExact license key (if deleting one)
subscriptionNoSubscription name (if deleting batch)
amountNoHow many licenses to delete (if batch)

Success Response

{
  "success": true,
  "deleted": ["KEY-XXXX-XXXX"]
}

Code Examples

fetch("http://localhost/commen/api/seller_delete_license.php?sellerkey=KEY&type=delete&license=KEY-123")
 .then(r => r.json())
 .then(console.log);
<?php
echo file_get_contents(
 "http://localhost/commen/api/seller_delete_license.php?sellerkey=KEY&type=delete&license=KEY-123"
);
?>
import requests
r = requests.get("http://localhost/commen/api/seller_delete_license.php", params={
 "sellerkey":"KEY",
 "type":"delete",
 "license":"KEY-123"
})
print(r.text)
var client = new RestClient(
 "http://localhost/commen/api/seller_delete_license.php?sellerkey=KEY&type=delete&license=KEY-123"
);
var res = client.Execute(new RestRequest(Method.GET));
Console.WriteLine(res.Content);