Cancellation of multiple pooled or unpooled usages that must all be assigned to the same contract. The request is processed atomically: either every usage is cancelled and corrected, or nothing is changed. Pooled usages are corrected according to the correction mode of the billing group: item-based with one correction per pool, document-based by cancelling and reissuing every affected document. Rejections of the request return 400 with a machine-readable reason code. 409 is returned when a concurrent change of the same pool committed first; the request can be repeated. 423 is returned when an affected pool is currently being billed or only exists as a not yet billed copy; the request can be repeated once billing has completed. 423 is also returned when an affected pool was terminated manually (TERMINATED); such a pool is not cancellable.
post
https://api.instellix.io/v2/usages/actions/cancel