unblock_ban_account.md 1.4 KB

Unblock/Ban Specific Players

Request URL

{API_URL}

Request Parameters

Field Name Type Length Required Description
itype string 4 Yes 7 = Operation identifier for this request
authcode string 32 Yes Agent identifier, provided by the platform
authkey string 32 Yes Agent secret key, provided by the platform
account string 32 Yes Player account
state int 4 Yes 0 = Unblock player, -1 = Ban player

Example

  • URL:

    • {API_URL}
  • HTTP Method:

    • POST
  • Form Data:

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

    itype: 7,
    authcode: test001,
    authkey: 123456,
    account: 0166306192,
    state: 1
    

Response Fields

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

Response Format

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