If your OpenSearch database is connected to a knowledge base, make sure to move any data sources to a new knowledge base before deleting the database. You cannot change the OpenSearch database a knowledge base uses after creation, and deleting the database also permanently deletes any knowledge bases stored in it.
How to Destroy OpenSearch Clusters
Last verified 27 Apr 2026
OpenSearch is an open-source search and analytics suite which serves as a centralized location to manage logs forwarded from other resources, such as databases and Droplets.
Deleting a database cluster permanently and irreversibly destroys the cluster, its contents, and its automated backups.
Destroy a Database Cluster Using Automation
You can destroy a database cluster using the DigitalOcean CLI (doctl) or the API.
Destroy a Database Cluster via CLI
Destroy a Database Cluster via API
Destroy a Database Cluster Using the Control Panel
To destroy a database cluster from the control panel, open the cluster’s More menu. Click Destroy to open the cluster’s Settings page.
In the Destroy this database cluster section at the bottom of the page, click the Destroy button. This opens a Destroy database cluster confirmation window.
To permanently destroy the cluster, type or copy and paste the name of the database cluster into the text field, then click Destroy.
Destroying a database cluster destroys the backups of that database. Make sure you download any important data before you destroy a cluster.