Remove Mongo Atlas Managed x.509 sertificate from database user

Auth serticate for database users are generated by mongo atlas. I want to remove x.509 setificates for specific user.

I created user and sertificate using terraform resourcen mongodbatlas_database_user and mongodbatlas_x509_authentication_database_user.

I want to be able to remove sertificates on the user using terraform or mongo command or …

Terraform destroy on mongodbatlas_x509_authentication_database_user does not remove sertificate. And I found api call to get sertificates MongoDB Atlas Administration API but cannot find one that removes sertificates and I coould not remove sertificate using mongo atlas ui.