v1
latestOpenAPI 3.0.32026-07-267278168.1 KBPositions
Set Leverage
Sets the leverage for a market. Leverage must be a positive integer and cannot exceed the market's maximum leverage. Reducing leverage while insufficient margin is available will return 400 with error_code=insufficient_margin. For how leverage and margin work, see Leverage.
post/v1/perps/leverage
Request body
Example request
{
"market": "AAPL-USD.P",
"leverage": "10"
}Response
Leverage updated successfully
Example response
{
"success": true
}