what about the robots meta tags[1], e.g., noindex, nofollow, noarchive?
1: https://developers.google.com/search/docs/crawling-indexing/...
1: https://developers.google.com/search/docs/crawling-indexing/...
Also explained here: https://developers.google.com/search/docs/crawling-indexing/...