Regenerate kubeconfig file and revoke access from old one created for admin user

Hi,
I need to know the procedure to create new kubeconfig file for admin user and revoke the access from old one. I have tried refreshing certs option but it doesn’t work. I’m using microk8s 1.30 version