Is k8s x509 certificates approved can canceled by api?

I have obtained the k8s x509 certificate through API. I want to cancel it after using it, so as to avoid security problems caused by certificate leakage.Is there API or other support?

Cluster information:

Kubernetes version: 1.21
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version: