Skip to main content
Lock Portfolio
curl --request GET \
  --url https://{environment}.deribit.com/api/v2/private/lock_portfolio \
  --header 'Authorization: Bearer <token>'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "ok"
}

Documentation Index

Fetch the complete documentation index at: https://docs.deribit.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. The authenticated session determines the portfolio that operations are applied to.

Response

200 - application/json

Portfolio locked successfully.

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
enum<string>
required

Result of method execution. ok in case of success

Available options:
ok
id
integer

The id that was sent in the request