Search code examples
azureazure-app-service-envrmntazure-app-api

Start-stop azure app services using rest api


Is there any rest api to start-stop AzureAppServices programmatically ?


Solution

  • I was able to find REST API documentation for Azure WebApps here: https://learn.microsoft.com/en-us/rest/api/appservice/webapps.

    Start WebApp: https://learn.microsoft.com/en-us/rest/api/appservice/webapps#WebApps_Start

    Stop WebApp: https://learn.microsoft.com/en-us/rest/api/appservice/webapps#WebApps_Stop