查询子账号 APIKey
查询子账号 APIKey
查询指定子账号的 APIKey。传入 apiKey 时,仅返回指定 APIKey 信息。
请求地址
GET /deepcoin/v2/sub-account/sub-account-apikey
请求参数
| 字段名 | 是否必填 | 类型 | 字段描述 |
|---|---|---|---|
| subAcct | 是 | string | 子账号账户名称 |
| apiKey | 否 | string | APIKey |
请求示例
GET /deepcoin/v2/sub-account/sub-account-apikey?subAcct=demo_sub_account
响应参数
| 字段名 | 类型 | 字段描述 |
|---|---|---|
| subAcct | string | 子账号账户名称 |
| label | string | APIKey 备注名称 |
| apiKey | string | APIKey |
| perm | string | APIKey 权限 |
| ip | string | 绑定 IP 地址 |
| createTime | int64 | 创建时间,毫秒时间戳 |
响应示例
{
"code": 0,
"msg": "success",
"data": [
{
"subAcct": "demo_sub_account",
"label": "demo api key",
"apiKey": "ed5c28e6-5b90-417d-91eb-f22053c05842",
"perm": "read_only,trade",
"createTime": 1782871200000
}
]
}