The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Your only option currently is PowerShell, as the Graph API is yet to add support for site settings. That, and PnP PowerShell/CSOM.