My App

Update isolated position margin balance

Update the margin balance for a specific isolated position.

Requires authentication.

POST
/portfolios/positions/{product_id}/isolated-margin-balance
OBSIDIAN-KEY<token>

In: header

OBSIDIAN-SECRET<token>

In: header

Path Parameters

product_idstring
amount?string

Response Body

application/json

application/json

curl -X POST "https://api.dev.obsidian.exchange/portfolios/positions/string/isolated-margin-balance" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}