POST persistence/clusters/<clus_name>/stores/<stor_name>

This web method sends a command to purge all durables in a specific store.

  • <clus_name> in the URI is the cluster name.
  • <stor_name> in the URI is the store name.

Commands

Command Description
{"cmd":"purge"} Purge messages from all durables in a store.

Filtering

See Filters for Durables.

Example Requests

curl http://<host>:<port>/api/v1/persistence/clusters/<clus_name>/stores/<stor_name> -X POST -d '{"cmd":"purge"}'