---
title: "/trade/orders/cancel/standby"
method: PUT
path: "/api/v1/trade/orders/cancel/standby"
tags: ["Trade"]
---

# /trade/orders/cancel/standby

`PUT /api/v1/trade/orders/cancel/standby`

## Request

- Base URL: `https://trade.api.sui-staging.bluefin.io`
- URL: `https://trade.api.sui-staging.bluefin.io/api/v1/trade/orders/cancel/standby`
- Auth: API key in header `Authorization`

Cancel orders in standby for a market using order hashes.
- May be a single order hash or a list of order hashes.
- All orders must belong to the same account.
- If no order hashes are specified, then will cancel all orders for the given market
- All orders being cancelled by request will receive the same time priority.

## Request body

- CancelOrdersRequest: Cancelling Orders for a specific symbol. If order hashes are not specified, all orders are canceled for this symbol
  - `symbol` string, required: The symbol of the perpetual for which to cancel orders.
  - `orderHashes` string[]: List of order hashes of the orders to be cancelled. All orders must belong to accountAddress. Max 10 order hashes

## Response `200`

Orders cancelled successfully.

- CancelOrdersResponse: Response to a request to cancel orders.
  - `orderHashes` string[], required: The order hashes of the cancelled orders.

## Other responses

- `400`: Bad Request. Invalid body parameters.
- `401`: Unauthorized. Authentication is required or invalid.
- `403`: Forbidden.
- `429`: Too Many Requests. The request was rate limited.
- `500`: Internal Server Error. An unexpected error occurred on the server.
- `503`: Service Unavailable. The service is currently unavailable.

---

[API](https://skmtc.dev/bluefin/apis/bluefin-trade-api.md) - [All operations](https://skmtc.dev/bluefin/apis/bluefin-trade-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bluefin/apis/bluefin-trade-api/revisions/de8d6d7f39d7?raw)
