Pandabase
Store APIsMeters

Delete meter

DELETE
/stores/{storeId}/products/{productId}/meters/{meterId}

Deletes a usage meter. Returns a 409 if any usage event or billed period summary references the meter, since audit history is preserved indefinitely. Requires the METERS_WRITE scope.

Authorization

AuthorizationBearer <token>

Bearer token authentication. Pass the secret directly in the Authorization header. Token secrets start with sk_.

In: header

Path Parameters

storeId*string
Length12 <= length <= 48
productId*string
Length12 <= length <= 48
meterId*string
Length12 <= length <= 48

Header Parameters

idempotency-key?string
Length8 <= length <= 32

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/stores/stringstring/products/stringstring/meters/stringstring"
{  "ok": true,  "data": {    "deleted": true  }}

Last updated on