Skip to content

Users

Managing RabbitMQ users, their credentials, permissions, and limits.

all() -> list[dict] async

List all users in the cluster.

bulk_delete(value: dict) -> None async

Delete multiple users in a single request.

Parameters:

Name Type Description Default
value dict

Dict containing the list of users, e.g., {"users": ["u1", "u2"]}.

required

delete(user: str) -> dict async

Delete a specific user.

delete_limit(user: str, limit: UserLimitName) -> dict async

Remove a specific limit for a user.

detail(user: str) -> dict async

Get details for a specific user.

individual_limits(user: str) -> list[dict] async

List per-user limits for a specific user.

limits() -> list[dict] async

List per-user limits for all users in the system.

permissions(user: str) -> list[dict] async

List all standard permissions assigned to the user.

set(user: str, value: dict) -> dict async

Create or update a user.

Parameters:

Name Type Description Default
value dict

Dict containing 'tags' (mandatory) and either 'password' или 'password_hash'.

required
Note

Recognized tags include 'administrator', 'monitoring', and 'management'.

set_limit(user: str, limit: UserLimitName, value: int) -> dict async

Set a specific limit for a user (e.g., max-connections, max-channels).

topic_permissions(user: str) -> list[dict] async

List all topic permissions assigned to the user.

without_permissions() -> list[dict] async

List users who have no access to any virtual host.