Cancel order
DELETE/api/v1/orders/:orderId
Send a cancellation request to the broker for a pending or open order.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Cancellation request sent successfully
orderId is invalid
Authentication required
Order not found or access denied. The answer is the same for a missing order and for an order on an account the caller does not own, and nothing is sent to the broker. The owner keeps access after the account or broker is soft-deleted.
Server error or broker rejected the cancellation