private/set_leverage
Sets a custom leverage multiplier for a specified future instrument.
Custom leverage cannot exceed the effective max_leverage allowed by the account’s risk profile. Passing null as the leverage value removes the custom leverage setting and restores the default leverage.
Custom leverage setting is disabled for isolated subaccounts. Setting leverage in isolated margin mode is restricted to main accounts.
Authorizations
Call public/auth with grant_type: coinbase_cdp and a CDP JWT. Send the returned access_token as Authorization: Bearer.
Query Parameters
Instrument name Unique instrument identifier
"BTC-PERPETUAL"
Target custom leverage multiplier. Must be between 1 and max_leverage. Pass null to remove custom leverage and restore risk-profile default.
The user id for the subaccount. Available to retail-broker callers; defaults to the authenticated account.
If true, sets leverage for isolated margin scope (main account only).