Cancel Order
PUT/api/prime/trading/v1/accounts/:accountId/orders/:orderId/cancel
Submits a request to cancel a previously placed order. The successful response confirms the request submission only, not the final order cancellation. Use the Get Order endpoint or the orders websocket to confirm the final order status.
Request
Responses
- 200
- 400
- 401
- 403
- 422
- 429
- 500
OK
Bad request - Invalid request or order cannot be cancelled
Unauthorized - Invalid or missing authentication
Forbidden - Insufficient permissions
Unprocessable Entity - JSON payload is improperly formatted
Too Many Requests - Rate limit exceeded
Internal Server Error
Environment: