<TBD>
(add demo)
\uD83D\uDCD8 Instructions
Info |
---|
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu. |
\uD83D\uDCCB Related articles
...
Meters can be created, retrieved, updated, and deleted using the API, see API Documentation .
Examples
Below are a few examples of how this may look like.
Retrieving a list of meters:
GET /api/usage-metering/v1/meters
{}
Creating a meter:
POST /api/usage-metering/v1/meters
{
"domain": "string",
"externalRef": "string",
"meterTypeId": "string",
"userId": "string"
}
Deleting a meter:
DELETE /api/usage-metering/v1/meters{id}
{}
Retrieving one single meter:
GET /api/usage-metering/v1/meters{id}
{}
Updating a specific meter:
PATCH /api/usage-metering/v1/meters{id}
{
"resetAt": "string",
"value": 0
}