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

This web method sends a command to purge a specific durable.

The following form sends a command to purge all durables in a specific store: POST persistence/zones/<zone_name>/stores/<stor_name>.

  • <zone_name> in the URI is the zone name.
  • <stor_name> in the URI is the store name.
  • <dur_name> in the URI is the durable name.

Commands

Command Description
{"cmd":"purge"} Purge messages from a durable.

Filtering

See Filters for Durables.

Example Requests

curl -X POST http://<host>:<port>/api/v1/persistence/zones/<zone_name>/stores/<stor_name>/durables/<dur_name> -d <json_cmd>