Pricing

Update meter (incl. the default rating-rule binding)

Changed on

Fields omitted are left unchanged. rating_rule_version_id sets the meter's DEFAULT rating rule — the rate applied to usage no dimension pricing rule claims (the remedy for silently-unbilled unmatched usage); pass an empty string to clear it. The rule must exist on the tenant.

patch/v1/meters/{id}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/meters/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

namestring
unitstring
aggregation'sum' | 'count' | 'max' | 'last'
rating_rule_version_idstring

Default rating rule; empty string clears.

Response

Updated meter

Changes