文档中心 > API类目 > 智能设备

taobao.ailab.aicloud.top.device.unbind (解绑设备)

解绑设备

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
schema String 必须 36653b6e-f41a-11e6-bc64-92361f002671 账户体系隔离
user_id String 必须 13911112222 用户ID,此处传入第三方账户体系的用户id
utd_id String 必须 V944n0HrnZ4DAAtOStvvDat7 用户设备唯一识别码,长度限制32以内,建议使用系统接口获取deviceid,然后做一定的混淆处理来作为此输入参数
ext String 必须 {"appType":"IOS","appVersion":"1.0"} 扩展信息,用于存放APP类型等

响应参数

名称 类型 示例值 描述
model Boolean true 解绑是否成功
is_success Boolean true 是否成功
msg_info String 参数不可用 msgInfo错误码信息,成功返回null

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AilabAicloudTopDeviceUnbindRequest req = new AilabAicloudTopDeviceUnbindRequest();
req.setSchema("36653b6e-f41a-11e6-bc64-92361f002671");
req.setUserId("13911112222");
req.setUtdId("V944n0HrnZ4DAAtOStvvDat7");
req.setExt("{\"appType\":\"IOS\",\"appVersion\":\"1.0\"}");
AilabAicloudTopDeviceUnbindResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<ailab_aicloud_top_device_unbind_response>
    <model>true</model>
    <is_success>true</is_success>
    <msg_info>参数不可用</msg_info>
</ailab_aicloud_top_device_unbind_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部