Skip to main content
PATCH
/
v1
/
usage
/
meters
/
{id}
Update a usage meter
curl --request PATCH \
  --url https://revstack.dev/v1/usage/meters/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "periodStart": "2023-11-07T05:31:56Z",
  "periodEnd": "2023-11-07T05:31:56Z"
}
'
null

Path Parameters

id
string
required
Example:

"meter_abc123"

Body

application/json
periodStart
string<date-time>
periodEnd
string<date-time>

Response

200 - application/json

Usage meter updated

The response is of type unknown.