Related to this question: https://stackoverflow.com/questions/15837199/is-it-ok-to-remove-google-txt-verification-records-after-ive-authorized-my-doma - is it safe to delete the DNS TXT record created to prove ownership of a domain?
There might be different answers for different products.
For Google Workspace, I found this answer: https://support.google.com/a/thread/129037623?hl=en&msgid=129046776
Q: Is it ok to delete TXT records after verification?
A: Yes. The record was just used to validate ownership and control of the DNS settings.
For Google WebMaster tools, there's this: https://support.google.com/webmasters/answer/9008080
Which says:
Important: To stay verified, don't remove the DNS record from your provider, even after verification succeeds.