更新Broker子賬戶APIKEY


//請求示例
{
    "uid": "99996908310782",
    "apiKey": "65b723613e72462802a7439a",
    "ipWhitelist": [
        "192.168.3.18"
    ],
    "permissions": [
        "Spot",
        "General"
    ],
    "label": "nd-apikey-modify-2"
}

//返回示例
{
    "code": "200000",
    "data": {
        "uid": "123456789",
        "label": "nd-apikey-modify-2",
        "apiKey": "65b723613e72462802a7439a",
        "permissions": [
            "General",
            "Spot"
        ],
        "ipWhitelist": [
            "192.**.18"
        ],
        "createdAt": 1706500961000
    }
}

該接口支持查詢該Broker的子賬戶APIKEY

HTTP請求

POST /api/v1/broker/nd/account/update-apikey

示例

POST /api/v1/broker/nd/account/update-apikey

請求URL

此接口支持Broker URL

頻率限制

Broker权重:3

參數
參數 數據類型 是否必須 含義
uid String 子賬戶UID
apiKey String 子賬戶apiKey
ipWhitelist List String ip白名單列表,最多支持20個ip
permissions List String 權限組列表
label String apikey備注(長度4~32)
  • 注意:ipWhitelist、permissions、label 必須有一項不爲空
返回值
字段 含義
uid 子賬戶UID
label apikey備注
apiKey apiKey
permissions 權限列表
ipWhitelist ip白名單列表
createdAt 創建時間,unix时间戳(毫秒)