> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/database/how-tos/delete-a-database-instance.md).

# Delete a database instance

Deleting an entire database instance will delete all data in it, including all databases and all users.

***

{% hint style="danger" %}
This page describes how to delete the entire database instance. If you only want to delete a specific database in the instance, see [Manage databases and users](/products/database/how-tos/manage-databases-and-users.md) instead.
{% endhint %}

## Delete a database instance using the control panel

If you want to delete your entire database instance, click the three dots next to it on the database overview page, then click **Delete**.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FH7E5RPEQWRp49HCTo0xj%2Fdbaas-delete-database.png?alt=media&amp;token=76b09185-be28-41a6-b027-717820f19f6a" alt=""><figcaption></figcaption></figure>

In the dialog box that appears, type the name of the database into the field and click **Delete** to confirm.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2F6vUQhJzjvD67V5YPX3G1%2Fdbaas-delete-database-confirm.png?alt=media&amp;token=f2716262-bc95-409a-887c-79000334ec70" alt=""><figcaption></figcaption></figure>

## Delete a database instance using the API

Use the [database/delete](https://github.com/GleSYS/API-docs/wiki/API-Documentation#databasedelete) endpoint to delete a database using the [API](/platform/control-panel/api.md).
