Documentation/Canton Network docs/Ledger API › Protobufs › Packages › com.daml.ledger.api.v2.admin › Services › ParticipantPruningServiceView on Canton Network docs ↗
Prune
RPC
/com.daml.ledger.api.v2.admin.ParticipantPruningService/PruneProtocol Details
ProtocolgRPC
ServiceParticipantPruningService
RPCPrune
Client streamNo
Server streamNo
Inputs
PruneRequest
Messagecom.daml.ledger.api.v2.admin.PruneRequest
Client streamNo
prune_up_toint64submission_idstringprune_all_divulged_contractsboolOutputs
PruneResponse
Messagecom.daml.ledger.api.v2.admin.PruneResponse
Server streamNo
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
{}