Headers
Section titled “Headers”| Header | Value | Description |
|---|---|---|
Api-Id | agent_id | AL Agent |
Api-Key | your_api_key | API KEY from us |
The Game Kick endpoint allows you to forcibly terminate a player’s active session. This is useful for administrative purposes or security measures.
fetch('https://DOWINN-API/game-kick', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN' }, body: JSON.stringify({ user_id: '' })})import axios from 'axios';
const options = { method: 'POST', url: 'https://DOWINN-API/game-kick', headers: { 'Content-Type': 'application/json', 'Api-Id': 'YOUR_SECRET_TOKEN', 'Api-Key': 'YOUR_SECRET_TOKEN' }, data: { user_id: '' }};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}
| Header | Value | Description |
|---|---|---|
Api-Id | agent_id | AL Agent |
Api-Key | your_api_key | API KEY from us |
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | ✅ | Your player’s unique identifier |
Successful Response
interface GameKickResponse { code: number}Failed Response
interface GameKickResponse { code: number message: string}Server Error
interface GameKickResponse { code: number message: string}