请求方式:POST。
服务地址/v3/device/account/query
接口服务地址与服务接入点一一对应,请选择与您的应用服务接入点对应的 服务地址。
接口功能:查询 Account 与 Token 的绑定关系。
参数名 | 类型 | 是否必需 | 参数说明 |
---|---|---|---|
operator_type | Integer | 是 | 操作类型: |
account_list | Array | 否 | 当 operator_type = 1 时有效且必填,待查询 Account 列表每个元素含一组 Account 。 具体示例如下:[{"account":"account1"},{"account":"account2"}] |
token_list | Array | 否 | 当 operator_type = 2 时有效且必填待查询 Token 的列表 |
参数名 | 类型 | 参数说明 |
---|---|---|
retCode | Integer | 错误码,详细参照 错误码对照表 |
errMsg | String | 错误信息 |
account_tokens | Array | Account 到 Token 的映射关系数组。示例如下:[{"account":"account1","token_list":["token1","token2"]}{"account":"account2","token_list":["token2","token3"]} ] |
token_accounts | Array | Token 到 Account 的映射关系数组。示例如下:[{"token":"token1","account_list":[{"account":"926@126.com"},{"account":"1527000000",}]}, {"token":"token2","account_list":[{"account":"926@163.com"},{"account":"1527000001"}]}] |
批量查询 Account 绑定的 Token 关系
{
"operator_type": 1,
"account_list": [
{
"account": "account1"
},
{
"account": "account2"
}
]
}
批量查询 Token 绑定的 Account 关系
{
"operator_type": 2,
"token_list": [
"token1",
"token2"
]
}
批量查询 Account 绑定的 Token
{
"retCode": 0,
"errMsg": "ok",
"result": [
"0",
"0"
],
"account_tokens": [
{
"account": "account1",
"token_list": [
"token1",
"token2"
]
},
{
"account": "account2",
"token_list": [
"token2",
"token3"
]
}
]
}
批量查询 Token 绑定的 Account
{
"retCode": 0,
"errMsg": "ok",
"result": [
"0",
"0"
],
"token_accounts": [
{
"token": "token1",
"account_list": [
{
"account": "926@126.com"
},
{
"account": "1527000000"
}
]
},
{
"token": "token2",
"account_list": [
{
"account": "926@163.com"
},
{
"account": "1527000001"
}
]
}
]
}
华为云SSL证书有以下几点优势: 安全可靠 基于华为一流的高安全密码解决方案实现...
2020年12月28日,“中国城市数字经济论坛·2020”在上海召开。中国信息通信研究...
功能介绍 内容分发网络(CDN)提供基础缓存配置能力,可根据指定业务类型、目录...
问题现象: CCI实例创建正常,使用python django smtp服务发送邮件时,一直提示...
操作场景 本文以 云服务器 的操作系统为“Windows Server 2008 R2 Standard 64bi...
浦东、闵行、宝山、嘉定是上海新能源汽车分布最多的4个区域 上海私用新能源车工...
1. 接口描述 接口请求域名: cvm.tencentcloudapi.com 。 本接口 (CreateKeyPair...
互联网对于IDC行业的需求正在不断的发生着变化,现有的网络增值服务已经无法适应...
您需要确认您购买的云专线的华为云接入点支持进线的运营商有哪些(不同接入点支...
据报道,微软公司和德国电信(Deutsche Telekom)日前宣布达成一项为期7年的云计算...