Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Archive a metered feature

Idempotency Supported

Archives a metered feature and its associated meter.

Prerequisites & Constraints

  • The metered feature must be active.

Impacts

Entitlements and subscription entitlements

  • New entitlements and subscription entitlements cannot be created for the feature when it's archived.
  • Pre-existing entitlements and subscription entitlements remain effective.

Feature and meter

  • The feature and meter status are changed to archived.

Sample Request

Sample Result[JSON]

URL Format

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

Returns

Meter object
Resource object representing meter