change_password.md 1.4 KB

Change Password

Request URL

{API_URL}

Request Parameters

Field Name Type Length Required Description
itype string 21 Yes 16 = Change password request type identifier
authcode string 32 Yes Agent identifier, assigned by the provider
authkey string 32 Yes Agent secret key, assigned by the provider
account string 128 Yes Player login account
pwdnew string 64 Yes New password for the player

Example

  • URL:

    • {API_URL}
  • HTTP Method:

    • POST
  • Form Data:

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

    itype: 16,
    authcode: test001,
    authkey: 123456,
    account: test123,
    pwdnew: 123123
    

Response Fields

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

Response Format

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