Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Body

application/json

Deletion scope

external_customer_ids
string[]
required
Required array length: 1 - 100 elements
period_end
string<date-time>
required
Example:

"2026-03-28T00:00:00Z"

period_start
string<date-time>
required
Example:

"2026-03-01T00:00:00Z"

event_ids
string[]

EventIDs narrows the deletion to exact event ids. Requires exactly one customer and no feature_ids.

Maximum array length: 1000
feature_ids
string[]

FeatureIDs narrows the deletion to the meters these features resolve to.

Maximum array length: 100
skip_payload
boolean

SkipPayload stores the audit row's properties as '' so the deletion leaves no payload copy. Defaults to true: a deletion is usually an erasure, and keeping the payload would defeat it. Send false to retain it.

Response

OK

deleted_events
integer
deleted_meter_usage_rows
integer