Pause User
End/Modify user data and sessions directly securely.
Pause a user account (prevents login/access until unpaused).
ℹ️ Paused users cannot authenticate until resumed.
Endpoint Details
GET
/api/pause_user.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| username | Yes | Username to pause |
Success Response
{
"success": true,
"msg": "User paused"
}
Failure Response
{
"success": false,
"msg": "User not found"
}
Code Examples
fetch("http://localhost/commen/api/pause_user.php?sellerkey=KEY&username=USER")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/pause_user.php?sellerkey=KEY&username=USER" ); ?>
import requests
r = requests.get("http://localhost/commen/api/pause_user.php", params={
"sellerkey":"KEY",
"username":"USER"
})
print(r.text)
var client = new RestClient( "http://localhost/commen/api/pause_user.php?sellerkey=KEY&username=USER" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);