Usage Metrics
Delete a Usage Metric
Delete a Usage Metric
DELETE
/
usage-metrics
/
{id}
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Sequence-Version
enum<string>
Use this header to select an API version
Available options:
2024-07-30
Path Parameters
id
string
requiredUnique ID
Response
200 - application/json
id
string
requiredUnique ID
sequenceAccountId
string
requiredSequence Account ID
name
string
requiredHuman-readable name for this metric, which should be unique
description
string
Description for this metric
metricType
enum<string>
requiredType of metric (simple or grouped)
Available options:
SIMPLE
, GROUPED
eventType
string
requiredThe eventType
of the Usage Event to be aggregated
aggregationType
enum<string>
requiredType of aggregation to perform
Available options:
COUNT
, UNIQUE
, SUM
, CUSTOM
aggregationProperty
string
Property within the event to aggregate
groupingProperty
string
Property within the event to group results by
unit
string
Human-readable unit of the aggregated metric, eg. API calls)
createdAt
string
Created at
deletedAt
string
Created at
propertyFilters
object
requiredpropertyFilters
caseSensitive
boolean
caseSensitive
propertiesToNegate
string[]
propertiesToNegate
parameters
object[]
requiredRequired parameters