Idempotency Supported
Advanced Usage-Based Billing
For high-scale usage ingestion, use Advanced Usage-Based Billing with the Usage Events API. The Usage Events API supports schemaless event ingestion at scale, including individual events, batch ingestion, and usage file ingestion.
Deletes a usage record. This operation cannot be invoked for a usage record that has been invoiced. This endpoint is part of the Usages API for Automated Metered Billing.
Sample Request
Delete an usage
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/subscriptions/{subscription-id}/delete_usage
Input Parameters
Returns
Usage object
Resource object representing usage