sharepoint online – Update list of allowed iframe domains using Powershell

As the “Embed” web part only allow iframes from whitelisted domains only, we’d like to be able to maintain the list of domains using powershell, instead of manually having to update all of our site manually. I’ve looked around on internet, but haven’t found a way to accomplish this.

Have anyone found a way to get this working on Sharepoint Online (modern sites)?