Open topic with navigation

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

This web method can send a command to purge or delete selected durables, or delete all durables for a specific store within a specific zone.

- <zone_name> in the URI is the zone name.
- <stor_name> in the URI is the store name.

## Commands

Command | Description
--- | ---
`{"cmd":"purge_durables","args"}` | Purge messages from the durables supplied in `args`.
`{"cmd":"delete_durables","args"}` | Delete the durables supplied in `args`.
`{"cmd":"delete_all_durables"}` | Delete all durables from a store within a specific zone.

## Filtering

See Filters for Durables.

## Example Requests

    curl http://<host>:<port>/api/v1/persistence/zones/<zone_name>/stores/<stor_name>/durables -X POST -d '{"cmd":"purge_durables", "args": [{"names": ["dur1","dur2"]}]}'

    curl http://<host>:<port>/api/v1/persistence/zones/<zone_name>/stores/<stor_name>/durables -X POST -d '{"cmd":"delete_durables", "args": [{"names": ["dur1", "dur2"]}]}'

    curl http://<host>:<port>/api/v1/persistence/zones/<zone_name>/stores/<stor_name>/durables -X POST -d '{"cmd":"delete_all_durables"}'

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.