> ## Documentation Index
> Fetch the complete documentation index at: https://docs.4cx.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel order

> Cancels a single open order you own.

Cancels a single open order you own. Replace `sessionID` with the MongoDB id of your session row.

## Request

<Card>
  **POST** `https://api.4cx.io/session/cancel` <Badge color="green">POST</Badge>
</Card>

**Headers:** `Authorization`, `Content-Type: application/json`

<CodeGroup>
  ```json Request theme={null}
  {
    "sessionID": "507f1f77bcf86cd799439011"
  }
  ```

  ```json Response theme={null}
  {
    "data": {
      "success": true,
      "sessionID": "507f1f77bcf86cd799439011",
      "odds": -110,
      "filled": 0,
      "offered": 50,
      "remaining": 50,
      "gameID": "evt_001"
    }
  }
  ```
</CodeGroup>

See [Errors](/pages/errors) for common failure responses.
