# Unbind - Open Interface

# Configuration information

For example:

  • APPID: xxxxxxxxxxxxxxx
  • TOKEN: xxxxxxxxxxxxxxx
  • EncodingAESKey: xxxxxxxxxxxxxxx

# Unbind the interface:

https://chatbot.weixin.qq.com/openapi/unbindmp/{TOKEN}

Interface type:

POST request

Dxplaination of parameters:

field type Yes Required describe
authorizer_appid string yes Official Account message templateappid

Message encryption and decryption access guidelines

For example, the parameters are

<xml>
    <authorizer_appid><![CDATA[https://xxx.com/xxx]]></authorizer_appid>
</xml>

Encrypt the data to the field encrypt Put in body in

var cryptor = new WXBizMsgCrypt(TOKEN, EncodingAESKey, APPID)

var data = `<xml>
    <authorizer_appid><![CDATA[https://xxx.com/xxx]]></authorizer_appid>
</xml>

</xml>`

var encrypted = cryptor.encrypt(data)

curl -X post -d '{"encrypt": encrypted}' "https://chatbot.weixin.qq.com/openapi/unbindmp/{TOKEN}" -H "Content-Type:application/json"

Return value:

field type describe
code number Error code
msg array Interface Call Information

Return format:

{
	"code": 0,
	"message": "success"
}