kickout.md 1.3 KB

kick out Player

Description

This function allows operators to kick out Player through the interface

Request method:( Host-> BeSoft):post

Encoding method:application/x-www-form-urlencoded

Besoft The response data format is: application/json

Method URL

{besoftapi}/api/game/logout

Request Parameters

| Name | Type | Required | Description |
| ---------- | ------ | ---- | ---------| | extension1 | String | Y | security code| | cert | String | Y | agent account| | user | String | N | The player's account was kicked off |

Example

  • URL:
  • HTTP Method:
    • POST
  • Form Data:

    Content-Type: application/x-www-form-urlencoded

    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
    extension1:adminweb
    user:Guest492
    

Return Result

| Name | Type | Description |
|--------|----------|--------| |status| Int32 |status code |
|erro| Int32 |error code|

Successful Result


{
	"status": 1
}

Failed Result

{
	"erro": 1042
}