Agara

Cancel every open order

POST
/trade/v1/orders/cancel-all

Authorization

Authorization
Required
Bearer <token>

Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….

In: header

Scope: orders:cancel_all

curl -X POST "https://app.agara.xyz/trade/v1/orders/cancel-all" \
  -H "Authorization: Bearer <token>"

Cancellation accepted for all open orders.

{
  "as_of": "2019-08-24T14:15:22Z",
  "pending_operation": "SUBMIT",
  "wallet_ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ]
}