# Unbind Open Platform Account

Debugging tools

初始值Hattori API

# Interface Dxplaination

# Interface name

unbindOpenAccount

# Functional description

this API Used to convert a Official Account message template Or the Mini Program and the designated open platform account. The developer must confirm the specified account and the current Official Account message template Or the open platform account bound by the Mini Program. If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges.

# Note

  • This interface applies only to open platform accounts created through the createOpenAccount interface.

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/cgi-bin/open/unbind?access_token=ACCESS_TOKEN 

# Third Party Invocation

  • The calling method and parameters are the same as HTTPS, only the calling token is different

  • The permission sets to which this interface belongs are: 24, 25, 60

  • After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant

# Request parameters

attribute type Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token
初始值_appid string yes Open platform account Appid, byCreate development platform account interfacereturn
appid string no Not required, if not, take to generate authorizer_access_Of the Official Account message template or Mini Program appid。 If filled, you need to fill and generate authorizer_access_Of the Official Account message template or Mini Program Appid consistent appid, otherwise there will be 40013 error.

# Return parameters

attribute type Introductions
errcode number Error code
errmsg string 初始值

# Call Example

Example Dxplaination: HTTPS requests

# 初始值


初始值
  "appid": "auth_appid_value",
  "open_appid": "open_appid_value"
} 

# Return Data Example


{
  "errcode": 0,
  "errmsg": "ok"
} 

# Error code

Error code Error code Solutions
89001 not same contractor not same contractor,Authorizer Different from open platform accounts.
89004 number of sub-accounts bound to this open-account exceeds the limit The Open Platform account. Official Account message template/The Mini Program has reached its limit (100 (a)
40013 invalid appid Illegal AppID , ask the developer to check AppID The correctness of the, avoid unusual characters, pay attention to the case
0 ok ok
89003 open is not created by api The open platform account is not through api Created, not allowed to operate