Removing Users from a SharePoint Group can be done in manually or through Power Automate.
In this blog we will be looking at how to remove a user via UserID from SharePoint Group using Power Automate.
Here is a link to get SharePoint Group UserID:
https://gilosoft.com/how-to-get-a-sharepoint-group-id/
Solution
Step 1: After signing in to your Office 365 account and selecting Power Automate, you will create a new instant cloud flow with a manual trigger.
Step 2: Add a “Send HTTP request to SharePoint” action card with the following details.
It is good practice to always name your actions cards in a way that describes their function e.g. “Remove User from SharePoint Group Using UserID” in this case

Step 3: Run the flow and be sure to verify all the details in your action card are exactly as shown above if you have any errors.
Step 4: Go to your SharePoint Group and under Users in the sidebar menu, verify that the member is successfully removed.