> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/agency-hosting/databases/delete-website-database.md).

# Delete website database

Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/agency-hosting/v1/websites/{website\_uid}/databases/{database\_name}" method="delete" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
