Seller Delete License
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
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| type | Yes | Must be delete |
| license | No | Exact license key (if deleting one) |
| subscription | No | Subscription name (if deleting batch) |
| amount | No | How 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);