Skip to main content
DELETE
/
cancel-all
Cancel all open orders
curl --request DELETE \
  --url https://clob.kuest.com/cancel-all \
  --header 'KUEST_ADDRESS: <kuest_address>' \
  --header 'KUEST_API_KEY: <kuest_api_key>' \
  --header 'KUEST_PASSPHRASE: <kuest_passphrase>' \
  --header 'KUEST_SIGNATURE: <kuest_signature>' \
  --header 'KUEST_TIMESTAMP: <kuest_timestamp>'
{
  "cancelled": [
    "<string>"
  ],
  "notCanceled": {}
}
Cancel all open orders for the authenticated account.
Cancellation requests require L2 authentication headers: KUEST_ADDRESS, KUEST_SIGNATURE, KUEST_TIMESTAMP, KUEST_API_KEY, and KUEST_PASSPHRASE.
The response always returns HTTP 200 OK. Successful cancellations append the ULIDs to cancelled. If any order cannot be cancelled, it appears in notCanceled with a short reason string.

Response fields

FieldTypeDescription
cancelledstring[]List of order ULIDs successfully cancelled.
notCanceledobjectMap of order IDs that were not cancelled to the reason string.

Headers

KUEST_ADDRESS
string
required

Checksummed wallet address performing the request.

KUEST_API_KEY
string<uuid>
required

API key obtained from the L1 derivation endpoint.

KUEST_PASSPHRASE
string
required

64 character hexadecimal passphrase associated with the API key.

KUEST_TIMESTAMP
string
required

Millisecond epoch timestamp (string) used for freshness checks.

KUEST_SIGNATURE
string
required

Hex-encoded HMAC-SHA256 signature built from the L2 signing string.

Response

Cancel result

cancelled
string[]
required

List of order IDs that were successfully cancelled.

notCanceled
object
required

Map of order IDs to cancellation failure reasons.