v3

latestOpenAPI 3.0.02026-07-311784111.3 MB
Account Management
Private

Enables a previously disabled API key, restoring its ability to authenticate API requests. The API key can be used immediately after being enabled.

📖 Related Article: Creating new API key on Deribit

Scope: account:read_write

Try in API console

get/private/enable_api_key

Query parameters

idinteger required
Example:1

API key ID

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "id": 1,
    "timestamp": 1536569522277,
    "client_id": "IY2D68DS",
    "client_secret": "P9Z_c73KaBPwpoTVfsXzehAhjhdJn5kM7Zlz_hhDhE8",
    "public_key": "-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEApajFN0CSwIaaiIRPiFbiYYvpsLQLSccSLLsKPe984sc= -----END PUBLIC KEY-----",
    "max_scope": [
      "account:read",
      "trade:read",
      "block_trade:read_write",
      "wallet:none"
    ],
    "enabled": true,
    "name": "TestName"
  }
}