---
title: "Control Desk Action"
method: POST
path: "/v1/control/desk/action"
tags: ["control"]
---

# Control Desk Action

`POST /v1/control/desk/action`

## Request

- Base URL: `https://app.mrtrades.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.mrtrades.com/v1/control/desk/action`
- Auth: none declared

Close one position, close every position, or cancel working orders.

## Headers

- `X-Device-Key` string, nullable

## Request body

- DeskActionBody
  - `action` string, required
  - `symbol` string, nullable
  - `code` string, nullable
  - `ssid` string, nullable
  - `device_id` integer, nullable
  - `oid` integer, nullable
  - `delta` number, nullable
  - `price` number, nullable
  - `size` number, nullable
  - `mode` string, nullable
  - `side` string, nullable
  - `leverage` integer, nullable
  - `book` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mrtrades/apis/mtdp-api.md) · [All operations](https://skmtc.dev/mrtrades/apis/mtdp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mrtrades/apis/mtdp-api/revisions/bc6c76f51439?raw)
