---
title: "Cancels one or more orders given an array of order ids"
method: POST
path: "/v1/order/cancel"
tags: ["Order"]
---

# Cancels one or more orders given an array of order ids

`POST /v1/order/cancel`

## Request body

- CancelOrderDto — Cancel order request containing signature and cancel data
  - `data` CancelOrderDtoData, required
    - `clientOrderIds` string[] — Client order IDs to cancel (UUIDs or alphanumeric up to 32 chars)
    - `nonce` string, required — Unique nonce for this request (nanoseconds since Unix epoch)
    - `orderIds` string[] — Order IDs to cancel (UUIDs)
    - `sender` string, hex, required — Address that signed this message
    - `subaccount` string, hex, required — Bytes32 encoded subaccount name (0x prefix, zero padded)
  - `signature` string, hex, required — Hex-encoded EIP-712 signature authorizing this request

## Response `202`

- ListOfCancelOrderResultDtos — Response returned when cancel request is processed
  - `data` CancelOrderResultDto[], required — Results for each order cancelation attempt
    - `clientOrderId` string — Client order ID (if order was found by clientOrderIds)
    - `id` string, uuid, required — Order ID (if order was found by orderIds)
    - `result` 'Ok' | 'NotFound' | 'AlreadyCanceled' | 'AlreadyFilled' | 'AlreadyExpired' | 'NonceAlreadyUsed' | 'Unknown', required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/ethereal/apis/ethereal-exchange-api.md) · [All operations](https://skmtc.net/ethereal/apis/ethereal-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ethereal/ethereal-exchange-api/revisions/6e6f8dad92bf/schema)
