DigitalOcean-public.v2-new_Databases
List All Databases
To list all of the databases in a clusters, send a GET request to /v2/databases/$DATABASE_ID/dbs.
The result will be a JSON object with a dbs key. This will be set to an array of database objects, each of which will contain the standard database attributes.
Note: Database management is not supported for Caching or Valkey clusters.
get/v2/databases/{database_cluster_uuid}/dbs
Path parameters
database_cluster_uuidstring uuid required
A unique identifier for a database cluster.
Response
A JSON object with a key of databases.
Example response
{
"dbs": [
{
"name": "alpha"
}
]
}