Modify Broker SubAccount 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
    }
}

This interface supports querying the Broker’s sub-account APIKEY

HTTP REQUEST

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

Example

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

REQUEST URL

This endpoint support Broker URL

REQUEST RATE LIMIT

Broker weight:3

PARAMETERS
Param Type Mandatory Description
uid String Yes Subaccount UID
apiKey String Yes Subaccount apiKey
ipWhitelist List String No IP whitelist list, supports up to 20 IPs
permissions List String No Permission group list
label String No apikey remarks (length 4~32)
  • Note: One of ipWhitelist, permissions, and label must not be empty.
RESPONSES
Param Description
uid Subaccount UID
label apikey remarks
apiKey apiKey
permissions Permission group list
ipWhitelist IP whitelist list
createdAt creation time, unix timestamp (milliseconds)