pydo.databases.list_users()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.databases.list_users(
database_cluster_uuid="9cc10173-e9ea-4176-9dbc-a4cee4c4ff30",
)Description
To list all of the users for your database cluster, send a GET request to
/v2/databases/{database_cluster_uuid}/users.
Note: User management is not supported for Caching or Valkey clusters.
The result will be a JSON object with a users key. This will be set to an array
of database user objects, each of which will contain the standard database user attributes.
User passwords will not show without the database:view_credentials scope.
For MySQL clusters, additional options will be contained in the mysql_settings object.
For MongoDB clusters, additional information will be contained in the mongo_user_settings object
Parameters
database_cluster_uuidstring requiredA unique identifier for a database cluster.
Request Sample
Response Example
More Information
See /v2/databases/{database_cluster_uuid}/users in the API reference for additional detail on responses, headers, parameters, and more.