ND Broker
  1. Exchange Broker
ND Broker
  • REST
    • Broker
      • Beginners
        • Introduction
        • Broker Application
        • Instructions
      • API Broker
        • Introduction
        • Get Broker Rebate
      • Exchange Broker
        • Introduction
        • Submit KYC
          POST
        • Get KYC Status
          GET
        • Get KYC Status List
          GET
        • Get Broker Rebate
          GET
        • Get Broker Info
          GET
        • Get SubAccount
          GET
        • Get SubAccount API
          GET
        • Get Deposit List
          GET
        • Get Transfer History
          GET
        • Get Withdraw Detail
          GET
        • Get Deposit Detail
          GET
        • Delete SubAccount API
          DELETE
        • Add SubAccount
          POST
        • Add SubAccount API
          POST
        • Modify SubAccount API
          POST
        • Transfer
          POST
      • User Service
  1. Exchange Broker

Modify SubAccount API

POST
/api/v1/broker/nd/account/update-apikey
Description
This interface supports modify the Broker’s sub-account APIKEY
Request Request Example
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
curl --location --request POST 'https://api-broker.kucoin.com/api/v1/broker/nd/account/update-apikey' \
--header 'Content-Type: application/json' \
--data-raw '{
    "uid": "226383154",
    "apiKey": "671afb36cee20f00015cfaf1",
    "ipWhitelist": [
        "127.0.0.1",
        "123.123.123.123"
    ],
    "permissions": [
        "general",
        "spot"
    ],
    "label": "This is remarks"
}'
Response Response Example
{
    "code": "200000",
    "data": {
        "uid": "226383154",
        "label": "This is remarks",
        "apiKey": "671afb36cee20f00015cfaf1",
        "apiVersion": 3,
        "permissions": [
            "General",
            "Spot"
        ],
        "ipWhitelist": [
            "127.**.1",
            "123.**.123"
        ],
        "createdAt": 1729821494000
    }
}

Request

Body Params application/json
uid
string 
required
Subaccount UID
apiKey
string 
required
Subaccount apiKey
ipWhitelist
array[string]
required
IP whitelist list, supports up to 20 IPs
permissions
array[string]
required
Permissions group list(Only General、Spot、Futures permissions can be set, such as "General, Trade". )
Allowed values:
generalspotfutures
label
string 
required
apikey remarks (length 4~32)
>= 4 characters<= 32 characters
Examples

Responses

🟢200OK
application/json
Body
code
string 
required
data
object 
required
uid
string 
required
Sub-Account UID
label
string 
required
apikey remarks
apiKey
string 
required
apiKey
apiVersion
integer 
required
apiVersion
permissions
array[string]
required
Permissions group list
ipWhitelist
array[string]
required
IP whitelist list
createdAt
integer <int64>
required
Creation time, unix timestamp (milliseconds)
Modified at 7 months ago
Previous
Add SubAccount API
Next
Transfer