Agara

Cancel an order

DELETE
/trade/v1/orders/{order_id}

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

Path Parameters

order_id
Required
string

Internal order UUID returned by POST /trade/v1/orders.

Format: "uuid"
curl -X DELETE "https://app.agara.xyz/trade/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Cancellation accepted; engine ack lands asynchronously.

{
  "as_of": "2019-08-24T14:15:22Z",
  "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
  "pending_operation": "SUBMIT"
}