Are you looking for ways to automate your Power BI work? Using Power BI REST API, you can easily manage Power BI content, perform admin operations, and embed Power BI content. In this article, you’ll learn how to use the Power BI REST API to identify workspaces that don’t need Premium features and unassign them from capacity in one go. You’ll also find out why you should use PowerShell for this task and the specific APIs and permissions required for using Power BI REST API. By the end of the article, you’ll have a general understanding of what can be done with Power BI REST API and how to start using it.