Skip to main content
POST

Prune events from the event log and submission correlations that are older than a given timestamp. Submission correlations record the account each submission is charged to. Permissioned only to Ledger API admin users. The timestamp must be at least the participant’s max deduplication duration in the past (7 days by default), otherwise the request is rejected with TRAFFIC_UNSAFE_TO_PRUNE. WARNING: Affects de-duplication.

OpenAPIAdded 3.7

Authorizations

httpAuth

string
required
HTTP bearer authentication. Send the token as Authorization: Bearer <token>. Ledger API standard JWT token

apiKeyAuth

string
required
API key authentication in the header. Ledger API standard JWT token (websocket)

Body

application/json
string
required
The timestamp before which events and submission correlations should be pruned. Events and submission correlations with a timestamp less than or equal to this value will be pruned. Required

Responses

200

application/json
integer (int32)
required
The number of events that were pruned. Required
integer (int32)
required
The number of submission correlations that were pruned. Required

400

Invalid value, Invalid value for: body
text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Added3.7