latestOpenAPI 3.0.02026-08-151824201.4 MB
3506493f7ae3
Account 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"
}
}