POST persistence/zones/<zone_name>/stores/<stor_name>

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

  • <zone_name> in the URI is the zone 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/zones/<zone_name>/stores/<stor_name> -X POST -d '{"cmd":"purge"}'