f:: Microsoft Graph
Controlling app access on a specific SharePoint site collections is now available in Microsoft Graph - Microsoft 365 Developer Blog
For example, if I wanted to grant the Foo application write permission to a single site collection, I would make this call:
Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph