Logs Delete Ip

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

End/Modify user data and sessions directly securely.

Delete all logs associated with a specific IP address.

⚠️ Warning: This action is irreversible. Logs for the given IP will be permanently deleted.

Endpoint Details

GET /api/logs_delete_ip.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
ipYesIP address
formatNojson (default)

Success Response

{
  "success": true,
  "deleted_rows": 12,
  "message": "Logs deleted for IP: 127.0.0.1"
}

Code Examples

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