Cookieless Embed Still need domain added to Embed Allow List?

Cookieless embed using Embed-SDK works as long as the domain is also added to Domain AllowList. We have hundreds if not thousands of custom domains (cannot use wildcard) which would be a lot of manual work to add by using admin panel Platform → Embed → Domain allowlist. Is there a way to do this using API?

1 1 194