cURL
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": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "title": "Trading Bot Key", "urls": [ { "url": "/api/v4/main-account/withdraw", "enable": false }, { "url": "/api/v4/main-account/balance", "enable": true } ] } '
{}
The endpoint updates an existing sub-account API key.
Rate limit: 1000 requests/10 sec.
The API does not cache the response.
API key authentication using signed requests
ID of the API key to update
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
New title for the API key
"Trading Bot Key"
Array of URL objects for API key restrictions
Show child attributes
API key updated successfully
The response is of type object.
object
Was this page helpful?