v2
OpenAPI 3.0.02026-07-311824171.4 MBAccount Management
Private
Generates a new secret key for an existing API key while keeping the same key ID and other properties. This is useful if the secret has been compromised or needs to be rotated for security purposes.
The old secret becomes invalid immediately, and the new secret is returned in the response. Store the new secret securely as it will not be displayed again. All applications using the old secret will need to be updated with the new secret.
📖 Related Article: Creating new API key on Deribit
Scope: account:read_write
get/private/reset_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"
}
}