Add the new security group with either member or admin permission. You need admin permissions if you need to automate data refresh, schedule refresh or other data source related activities. When you’re only deploying Power BI files without additional actions, member permissions are sufficient.

Now, you’re all setup to use the Power BI Rest API.