Set exchange leverage
post
https://api.dogabot.com/api/v1/exchange/leverage Changes initial futures leverage for a symbol on supported perp venues; optional margin_mode (crossed|isolated). Requires confirm_live=true. Requires write:terminal on the key and feat:terminal on the account. Send Idempotency-Key.
Scopes
write:terminal write Headers
Idempotency-Key string required Unique key per mutation so retries stay safe.
Body parameters
application/json required
exchange string required symbol string required leverage integer required margin_mode string Optional margin mode applied with the leverage change.
confirm_live boolean required Responses
200 OK
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited