To call this endpoint, the API Key need to have the
Place and Manage Orderspermission enabled (via OSL website).
clOrdIDarray needs to be present in the request, but not both.
Note that the endpoint supports bulk cancelling, however you should take into consideration that the cancel request may fail on some orders due to timing, whereby cancels or fills are processed ahead of the cancel being processed by the matching engine.
If all cancel requests succeed, the HTTP status returned will be
200. If one or more orders fail to cancel, the HTTP status will be
400. The response will specify orders that are successfully cancelled and the reason(s) for those that are not. You can refer to the response example how they are presented.