Bootstrap FreeKB - RabbitMQ - Delete policy using the rabbitmqctl clear_policy command
RabbitMQ - Delete policy using the rabbitmqctl clear_policy command

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


Please enter b97c1d in the box below so that we can be sure you are a human.