Skip to main content
PUT
Update Meter

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

meterId
string
required
Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
name
string

The name of the meter

Minimum string length: 1
eventName
string

The name of the event that the meter is tracking.

Minimum string length: 1
aggregationMethod
object

The aggregation method defines how the events should be summed to represent a usage value.

filter
object

The filter to apply to the events to be included in the meter. The filter object contains an array of Conditions, each condition represents a logical OR statement. Each condition contains an array of Criteria (criterions), each criterion represents a logical AND statement.

Response

RequestSuccess

meter
object
required