Introducing the Chargebee CLI

Remove a credit rate override

Removes a subscription's credit rate override. The subscription goes back to the feature-level credit rate that applies to it. To use the removed override's pricing again, set a new override with those values.

Prerequisites & Constraints

  • The subscription must have an override for the metered feature.

Sample Request

remove a subscription credit rate override

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/metered_features/{metered-feature-id}/remove_credit_rate_override

Input Parameters

subscription_id
required, string, max chars=50

The identifier of the subscription whose override is removed.

note
optional, string, max chars=500

The reason for removing the override, shown in the version history.

Returns

Credit rate override object

The removed override, with deleted set to true. Its version, effective_from, note, updated_by, and updated_at describe the removal. The pricing fields show the values the override had before it was removed, not the rate the subscription uses now.