# unbindWeixin

Untie WeChat.

# Invocation mode

POST https://api.weixin.qq.com/donut/unbindweixin?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.

# Examples of POST data

{
  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
10001040 User not bound WeChat
10001043 The user is only bound to WeChat, If you want to unbind, Please call unregisterUser
{
  errcode: 0,
  errmsg: "ok"
}