# unbindApple
解绑苹果账号。
# 调用方式
POST https://api.weixin.qq.com/donut/unbindapple?access_token=ACCESS_TOKEN
# 请求参数
| 属性 | 类型 | 说明 |
|---|---|---|
| access_token | string | 获取接口调用凭据 |
| user_id | string | 多端用户ID,不要从不安全的客户端传入该参数,可在服务端通过code2Verifyinfo获取。 |
# POST数据示例
{
user_id: 'bbb'
}
# 返回参数
| 属性 | 类型 | 说明 |
|---|---|---|
| errcode | number | 错误码 |
| errmsg | string | 错误提示 |
# 错误码
| errCode | 说明 |
|---|---|
| -1 | system error |
| 40014 | invalid access_token |
| 10001005 | 多端应用未接入身份管理 |
| 10001038 | 用户不存在 |
| 10001041 | 用户未绑定苹果账号 |
| 10001044 | 用户只绑定了苹果账号, 如果要解绑, 请调用unregisterUser |
{
errcode: 0,
errmsg: "ok"
}