[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Stackland](../../index.md) > [Step-by-step guides](../index.md) > Databases > Managed Service for PostgreSQL > Deleting a database

# Deleting a PostgreSQL database

If you have a PostgreSQL database in your [cluster](../../concepts/components/postgresql.md), you can delete it.

{% note warning %}

Once deleted, the database and all its data are removed from the cluster. This operation cannot be reversed.

{% endnote %}

## Using the CLI {#cli}

1. Find the name of the resource in the list of databases: `kubectl get PostgresqlDatabase -n <project_name>`.
1. Delete the resource: `kubectl delete PostgresqlDatabase <resource_name> -n <project_name>`.