---
title: "Submit a signed message for cancelling a rune sell order"
method: POST
path: "/v2/ord/btc/runes/order/cancel"
tags: ["Runes Listing"]
---

# Submit a signed message for cancelling a rune sell order

`POST /v2/ord/btc/runes/order/cancel`

## Request

- Base URL: `https://api-mainnet.magiceden.dev/v2`
- URL: `https://api-mainnet.magiceden.dev/v2/v2/ord/btc/runes/order/cancel`
- Auth: none declared
- TypeScript: <https://skmtc.dev/magiceden/apis/magic-eden-api/docs/v2/ord/btc/runes/order/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Submit a signed message for cancelling a rune sell order

## Request body

- PostRunesOrderCancelRequestSchema
  - `signature` string, required: A BIP322 signed version of the message requested from /v2/ord/btc/runes/psbt/order/cancel
  - `orderIds` string[], required: Array of UUIDs of the orders to be cancelled; cannot be empty and maximum of 20.
  - `makerAddress` union, required: Maker's Bitcoin address, supporting native segwit, Taproot, or P2SH formats.
    - string
    - string
    - string
  - `makerPublicKey` union, required: Maker's Bitcoin public key, either a standard or x-only format.
    - string
    - string
  - `token` string, required: JWT token of cancellation request from /v2/ord/btc/runes/psbt/order/cancel.

## Response `200`

Successful response

- PostRunesOrderCancelResultSchema
  - `orderIds` string[], required: Array of UUIDs for successfully cancelled orders.

---

[API](https://skmtc.dev/magiceden/apis/magic-eden-api.md) - [All operations](https://skmtc.dev/magiceden/apis/magic-eden-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magiceden/apis/magic-eden-api/revisions/66028b292693?raw)
