Skip to main content
POST
/
cancel_all_orders
cURL
curl --request POST \
  --url https://gateway.architect.exchange/orders/cancel_all_orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

User session token

Body

application/json

Request to cancel all orders for the authenticated user.

symbol
string | null

Optional symbol filter. If provided, only orders for this symbol will be canceled.

Response

200 - application/json

All orders canceled

Response for canceling all orders.