v2
OpenAPI 3.0.02026-07-311824171.4 MBAccount Management
Private
Updates the display name for an API key. The name is used for identification purposes in the API key list and does not affect the key's functionality or permissions.
📖 Related Article: Creating new API key on Deribit
Scope: account:read_write
get/private/change_api_key_name
Query parameters
idinteger required
Example:1
API key ID
namestring required
Example:TestName
Name of key (only letters, numbers and underscores allowed; maximum length - 16 characters)
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"
}
}