> 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-user.md).

# Delete website database user

Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user 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}/users/{database\_user\_name}" method="delete" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
