Delete User
End/Modify user data and sessions directly securely.
Delete a specific user permanently.
⚠️ Warning: This action is irreversible. The user will be permanently deleted.
Endpoint Details
GET
/api/delete_user.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| username | Yes | Username to delete |
Success Response
{
"success": true,
"msg": "User deleted successfully"
}
Code Examples
fetch("http://localhost/commen/api/delete_user.php?sellerkey=KEY&username=USER")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/delete_user.php?sellerkey=KEY&username=USER" ); ?>
import requests
r = requests.get(
"http://localhost/commen/api/delete_user.php",
params={"sellerkey":"KEY","username":"USER"}
)
print(r.text)
var client = new RestClient( "http://localhost/commen/api/delete_user.php?sellerkey=KEY&username=USER" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);