Delete All Users

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

End/Modify user data and sessions directly securely.

Delete ALL users for the current seller & application.

⚠️ Warning: This action is irreversible. All users will be permanently deleted.

Endpoint Details

GET /api/delete_all_users.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key

Success Response

{
  "success": true,
  "msg": "All users deleted successfully",
  "deleted_users": 42
}

Code Examples

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