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": "<string>",
  "alias": "<string>",
  "permissions": {
    "spotEnabled": true,
    "collateralEnabled": true
  }
}
'
{}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
id
string
required

Sub-account id

alias
string
required

Name for sub-account

permissions
object
required

Response

Sub-account edited successfully

The response is of type object.