Skip to main content
POST
/
api
/
v4
/
sub-account
/
edit
Edit Sub-Account
curl --request POST \
  --url https://whitebit.com/api/v4/sub-account/edit \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "id": "8e667b4a-0b71-4988-8af5-9474dbfaeb51",
  "alias": "training",
  "permissions": {
    "spotEnabled": true,
    "collateralEnabled": false
  }
}
'
{}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
id
string
required

Sub-account id

Example:

"8e667b4a-0b71-4988-8af5-9474dbfaeb51"

alias
string
required

Name for sub-account

Example:

"training"

permissions
object
required

Response

Sub-account edited successfully

The response is of type object.