RabbitMQ - List user permissions using the REST API (curl)

This assumes you have created a RabbitMQ user with the administrator tag.

Refer to the RabbitMQ REST API documentation.

The curl command with the --user option can be used to make an API connection to RabbitMQ. In this example, every permission for every user will be returned.

curl --user john.doe:itsasecret http://server001:15671/api/permissions


Something like this should be returned.



Here is how to list an individual users permissions.

curl --user john.doe:itsasecret http://server001:15671/api/user/john.doe/permissions


Which should return something like this.



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

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


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |