Azure REST API and PowerShell
There are many ways to manage resources on Azure and there are also many tools one can use. For example you can make use of the Azure Portal, PowerShell with the Az extensions, Azure CLI or make use of the Azure REST API to manage resources onm Azure.
On this page I will describe how you can use PowerShell to make a call to the REST API of Azure. To make the API call you will need the URL for the API call, the method (POST, GET, etc.) you want to use, the body of the message and a header which is used for authentication towards the API.