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

# Cancel a limit order

> Take an open order off the relay's book with the taker's signature.

<ParamField path="id" type="string" required />

<ParamField body="signature" type="hex" required>EIP-191 signature over the order's `cancelMessage`.</ParamField>

Returns the order with `status: "cancelled"`. The relay then never submits it. The Permit2 signature itself
stays valid until its deadline; end it early from the taker's wallet with
`Permit2.invalidateUnorderedNonces(wordPos, mask)` using the order's `revoke` fields.

Errors: `404 not_found`; `400 bad_signature`; `409 filling` (an auction is settling it right now) or
`not_open` with the current `status`.
