Skip to main content
Aria Knowledge Central

discard_usage_m Guide

If usage recorded in the Aria system was incorrect in some way, this API allows that usage to be discarded. Records discarded with this API are retained within Aria, but are not billable and will return with excluded reason codes if those usage records are fetched. Fetching usage from Aria prior to calling this API is not required, as it accepts either Aria-defined usage codes or client-defined usage codes.

API Specification:


Required Fields:
  • <client_no>
  • <auth_key>
  • <usage_record_no> or <client_record_id>

Error Codes:

Error Code/Description Associated Inputs

1001: unexpected error


1004: authentication error

Associated Inputs: auth_key, client_id, client_no

<auth_key>, <client_id>, <client_no>

23001: Discard usage completed with some errors


23002: Usage record not found


23003: Usage already billed


23004: Given client_record_id associated with multiple usage records.


23005: Usage already discarded.



  • Was this article helpful?