v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Sub-Account API Keys

Edit Sub-Account API Key

The endpoint updates an existing sub-account API key.

<Warning> Rate limit: 1000 requests/10 sec. </Warning> <Note> The API does not cache the response. </Note>
post/api/v4/sub-account/api-key/edit

Request body

apiKeyIdstring required

ID of the API key to update

titlestring required

New title for the API key

Example request

{
  "apiKeyId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "title": "Trading Bot Key",
  "urls": [
    {
      "url": "/api/v4/main-account/balance",
      "enable": true
    }
  ]
}

Response

API key updated successfully

object required