# unregisterUser
Log off the user.
# Invocation mode
POST https://api.weixin.qq.com/donut/unregisteruser?access_token=ACCESS_TOKEN
# Request parameters
attribute | type | Introductions |
---|---|---|
access_Token | string | Get the interface call credentials |
user_id | string | Multi-terminal user ID, do not pass this parameter from the insecure guest, can be used in the server through thecode2VerifyinfoGet. |
# POST Data Instance
{
user_id: 'bbb'
}
# Return parameter
attribute | type | Introductions |
---|---|---|
Errcode | number | Error code |
errmsg | string | Error message |
# Error code
errCode | Introductions |
---|---|
-1 | system error |
40014 | invalid access_Token |
10001005 | Multiterminal Application Unplugged Identity Management |
10001038 | User does not exist |
{
errcode: 0,
errmsg: "ok"
}