By sending requests to the API’s
/v2/databases endpoint, you can list, create, or delete database clusters as well as scale the size of a cluster, add or remove read-only replicas, and manage other configuration details.
See the API documentation on databases for more information.
doctl supports many of the same actions as the API: you can list, create, resize, and delete database clusters, manage database pools, replicas, and users, and more.
doctl databases help for more information.