I have a reasonably simple Flow in Power Automate that creates a site using an HTTP request. Then creates a document library using an HTTP request, but the part I cannot resolve is how to set custom permissions on that document library. I have found a thousand solutions to set permissions on folders and items, which I have done on other projects, but I cannot resolve how to set the permissions on the new document library as a whole.
Any thoughts? I have attached a picture of my working "Create Library" request.