v3
latestOpenAPI 3.0.02026-07-311784111.3 MBAccount Management
Private
Disables an API key, preventing it from being used to authenticate API requests. The key remains in your account but cannot be used until it is re-enabled.
This is useful for temporarily suspending access without permanently deleting the key. All requests using this key will be rejected until it is enabled again.
📖 Related Article: Creating new API key on Deribit
Scope: account:read_write
get/private/disable_api_key
Query parameters
idinteger required
Example:1
API key ID
Response
Success response
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"
}
}