Last modified February 12, 2025
ListDatabaseUsers
This function will list all databases users on the server.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
type | Integer | Filter listed databases by type | MySQL: type=1
MongoDB: type=2
PostgreSQL: type=3
|
type=1
|
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
items | List [] | Returns a list of database users. | ||
total | Integer | The total number of database users. |
Example Call JETAPI
jetbackup5api -F Plugin/ManageDatabases/ListDatabaseUsers -D "type=1"
success: 1
message: List database users fetched successfully
system:
version: 5.3.15.0
version_panel: 5.3.15.0
tier: RELEASE
type: Linux
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
users:
1:
example_user1: exampledb1
example_user2: exampledb2
2:
3:
Example Call HTTP
https://HOST_NAME:3035/?api=1&function=Plugin/ManageDatabases/ListDatabaseUsers&type=1
- To view available listing parameters, please visit List Parameters.
- API List calls have a default limit of 100 items.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.