cURL
curl --request DELETE \ --url https://api.limitless.exchange/orders/all/{slug} \ --header 'Authorization: Bearer <token>'
{ "message": "Orders canceled successfully", "canceled": [ "611badac-8dfc-48a0-b09e-59654adea1c5" ], "failed": [ { "orderId": "b53f0e4b-1529-45cc-ad39-e27f4c6eab5a", "reason": "ORDER_NOT_FOUND", "message": "Order not found or already canceled" } ] }
JWT token for API access (alternative to cookie auth)
All orders successfully cancelled
Confirmation message for cancelling all orders
"Orders canceled successfully"
Array of successfully cancelled order IDs
["611badac-8dfc-48a0-b09e-59654adea1c5"]
Array of orders that failed to cancel with reasons
Show child attributes