RabbitMQ - Delete policy using the rabbitmqctl clear_policy command
by
Jeremy Canfield |
Updated: February 23 2022
| RabbitMQ articles
The rabbitmqctl clear_policy command can be used to delete a policy. In this example, policy001 is virtual host vhost001 will be deleted.
rabbitmqctl clear_policy -p vhost001 policy001
The following should be returned. The rabbitmqctl list_policies command can be used to ensure the policy no longer exists.
Clearing policy "policy001" on vhost "vhost001" ...
Did you find this article helpful?
If so, consider buying me a coffee over at 