Skip to main content
POST
/
api
/
v4
/
sub-account
/
api-key
/
edit
Edit Sub-Account API Key
curl --request POST \
  --url https://whitebit.com/api/v4/sub-account/api-key/edit \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "apiKeyId": "<string>",
  "title": "<string>",
  "urls": [
    {
      "url": "<string>",
      "enable": true
    }
  ]
}
'
{}

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 update

title
string
required

New title for the API key

urls
object[]
required

Array of URL objects for API key restrictions

Response

API key updated successfully

The response is of type object.