Unban User

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

End/Modify user data and sessions directly securely.

Remove ban status from a user and restore access.

ℹ️ This action reverses ban_user.

Endpoint Details

GET /api/unban_user.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
usernameYesUsername to unban

Success Response

{
  "success": true,
  "msg": "User unbanned"
}

User Not Found

{
  "success": false,
  "msg": "User not found"
}

Code Examples

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