Documentation/Canton Network Docs/Ledger APIgRPC APIPackagesv2.adminServicesParticipantPruningServiceView on Canton Network Docs ↗
Prune
RPC
/com.daml.ledger.api.v2.admin.ParticipantPruningService/PruneProtocol Details
Inputs
PruneRequest
prune_up_toint64submission_idstringprune_all_divulged_contractsboolOutputs
PruneResponse
Related Schemas
com.daml.ledger.api.v2.admin.PruneRequest
com.daml.ledger.api.v2.admin.PruneRequest
prune_up_toint64submission_idstringprune_all_divulged_contractsboolcom.daml.ledger.api.v2.admin.PruneResponse
com.daml.ledger.api.v2.admin.PruneResponse
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.admin.ParticipantPruningService/Prune <<'EOF'
{
"pruneUpTo": "0",
"submissionId": "string",
"pruneAllDivulgedContracts": true
}
EOF
OKapplication/json
OK
{}