proton icon indicating copy to clipboard operation
proton copied to clipboard

refactor: deprecate billing_id and project_id in entitlement and usag…

Open whoAbhishekSah opened this issue 2 months ago • 0 comments

Summary

Deprecate billing_id and project_id parameters in entitlement and usage RPCs. These fields will now be automatically inferred from org_id on the backend.

Changes

Marked the following fields as deprecated:

  • CheckFeatureEntitlementRequest: billing_id, project_id
  • CreateBillingUsageRequest: billing_id, project_id
  • RevertBillingUsageRequest: billing_id, project_id

Usage

Clients should now only provide org_id when calling these RPCs:

  • CheckFeatureEntitlement
  • CreateBillingUsage
  • RevertBillingUsage

The backend will automatically infer the billing account ID from the organization ID.

whoAbhishekSah avatar Dec 03 '25 08:12 whoAbhishekSah