Databases
MySQL Databases
Return MySQL databases
This function lists the server's databases.
Warning:
On most servers, this function returns a large amount of output. We strongly suggest that you filter and sort the output.
Important:
When you disable the MySQL/MariaDB and PostgreSQL roles and remote MySQL is not already configured, the system disables this function.
get/list_databases
Response
HTTP Request was successful.
Example response
{
"data": {
"payload": [
{
"cpuser": "example",
"engine": "postgresql",
"name": "example_db0"
}
]
},
"metadata": {
"command": "list_databases",
"reason": "OK",
"result": 1,
"version": 1
}
}