---
title: "/trade/adjustIsolatedMargin"
method: PUT
path: "/api/v1/trade/adjustIsolatedMargin"
tags: ["Trade"]
---

# /trade/adjustIsolatedMargin

`PUT /api/v1/trade/adjustIsolatedMargin`

Adjust margin for an isolated position on a specific market.

## Request body

- AdjustIsolatedMarginRequest
  - `signedFields` object, required
    - `idsId` string, required — the ID of the internal datastore for the target network
    - `accountAddress` string, required — The account address of the account for which to adjust margin
    - `symbol` string, required — The symbol of the isolated position for which to adjust margin
    - `operation` 'ADD' | 'SUBTRACT', required — The operation to perform on the margin
    - `quantityE9` string, required — The quantity of margin to adjust for the isolated position
    - `salt` string, required — The random generated SALT. Should always be a number
    - `signedAtMillis` integer, required — The timestamp in millis at which the request was signed
  - `signature` string, required — The signature of the request, encoded from the signedFields

## Response `202`

Adjust margin request sent successfully.

## Other responses

- `400` — Bad Request. The request was invalid or malformed.
- `401` — Unauthorized. Authentication is required or invalid. Signature is invalid
- `403` — Forbidden.
- `404` — Not Found. The requested account was not found.
- `500` — Internal Server Error. An unexpected error occurred on the server.
- `503` — Service Unavailable. The service is currently unavailable.

---

[API](https://skmtc.net/bluefin/apis/bluefin-trade-api.md) · [All operations](https://skmtc.net/bluefin/apis/bluefin-trade-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluefin/bluefin-trade-api/versions/de8d6d7f39d7/schema)
