Skip to main content
PATCH
Change an API key's limits

Authorizations

Authorization
string
header
required

The session token of a Lean user who is signed in, sent as Authorization: Bearer <token>. Only the API key endpoints accept it, and an API key cannot create or revoke keys.

Path Parameters

id
string<uuid>
required

Body

application/json
maxOrderNotionalMicros
integer
Required range: 0 < x <= 9007199254740991
dailyNotionalLimitMicros
integer
Required range: 0 < x <= 9007199254740991

Response

The key with its new limits

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required