Update Margin Mode
Margin Mode, Leverage & Order Management
Update Margin Mode
This endpoint updates the margin mode for a given market.
POST
Update Margin Mode
Use this endpoint only when the market has no open position and no open orders. Close the position and cancel any open orders for the market before changing its margin mode.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Market name. Example value: BTC-USD. To get all supported markets, call /api/v1/markets endpoint.
Margin mode to set for the market. C for cross margin, I for isolated margin. Defaults to C if this endpoint is never called for the market.
Available options:
C, I Response
A message describing the result of the update margin mode operation.