cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/enable_api_key \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 8580, "method": "private/enable_api_key", "params": { "id": 3 } } '
{ "jsonrpc": "2.0", "id": 2453, "result": { "timestamp": 1560242482758, "max_scope": "account:read_write block_trade:read trade:read_write wallet:read_write", "id": 3, "enabled": true, "default": false, "client_secret": "B6RsF9rrLY5ezEGBQkyLlV-UC7whyPJ34BMA-kKYpes", "client_id": "1sXMQBhM", "name": "NewKeyName" } }
Enables api key with given id.
๐ Related Article: Creating new API key on Deribit
Scope: account:read_write
account:read_write
Try in API console
API key ID
1
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?