unblock_ban_all.md 1.3 KB

Unblock/Ban All Players

Request URL

{API_URL}

Request Parameters

Field Name Type Length Required Description
itype string 4 Yes 20 = Operation identifier for all-player action
authcode string 32 Yes Agent identifier, provided by the platform
authkey string 32 Yes Agent secret key, provided by the platform
state int 4 Yes 0 = Unblock all players, -1 = Ban all players

Example

  • URL:

    • {API_URL}
  • HTTP Method:

    • POST
  • Form Data:

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

    itype: 20,
    authcode: test001,
    authkey: 123456,
    state: 1
    

Response Fields

Field Name Type Length Description
ret int 32 -1 indicates success; other than -1 indicates failure
info string 128 Response message

Response Format

{
    "ret": -1,
    "info": "ok",
}