Skip to main content
POST
/
api
/
v4
/
sub-account
/
api-key
/
ip-address
/
create
Create Sub-Account API Key IP Address
curl --request POST \
  --url https://whitebit.com/api/v4/sub-account/api-key/ip-address/create \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "apiKeyId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "ip": "192.168.1.100"
}
'
{
  "data": [
    "<string>"
  ]
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
apiKeyId
string
required

ID of the API key to add IP address to

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

ip
string
required

IP address to add to allowed list

Example:

"192.168.1.100"

Response

IP address added successfully

data
string[]