Revoke Access Token

In some cases, e.g. the access token is compromised, third-party application is required to revoke the access token to invalidate it. A revoked token will no longer be available for authorization.

Request URL

GET {base_url}/{api_path}/del_token?access_token={access_token}

Request Parameters

No request parameters. Send the request URL directly to revoke the access token.

Response Parameters

Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.


Request example

GET /openapi/v1.0/del_token?access_token=0OPU6QwU1phKcYMzntmmLrn1SNvGeNJt 

Response example

HTTP/1.1 200 OK
    "errcode": 0,
    "errmsg": "SUCCESS"