Deleting a user
Written by
Updated at July 24, 2026
If you have a ClickHouse® user, you can delete it.
Deleting the ClickhouseUser resource also deletes the user in ClickHouse®. The associated Kubernetes Secret with the password is not deleted automatically, so delete it separately if you need to.
Using the CLI
- Find the name of the user in the list of project users:
kubectl get clickhouseuser -n <project_name>. - Delete the user's resource:
kubectl delete clickhouseuser <resource_name> -n <project_name>. - Optionally, delete the Secret with the password:
kubectl delete secret <secret_name> -n <project_name>.
Using the management console
- If you have not opened a project yet, select one.
- In the left-hand menu, select ClickHouse® Clusters.
- Select a cluster.
- Go to the Users tab.
- Select the user.
- Click Delete.
- Confirm the deletion.