Microsoft Azure Deleted Web Apps API

The DeletedWebApps API from Microsoft Azure, for deletedwebapps.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites List deleted web apps in a subscription · Microsoft Azure Get All Deleted Apps For A Subscription #
Ask an LLM
“Which App Service apps have been deleted in my subscription?”
“Can I find a web app I deleted so I can restore it?”
Tell an agent
List all deleted web apps in subscription {subscriptionId}.
Show every deleted App Service app across my subscription.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites List deleted web apps in a region · Microsoft Azure Get All Deleted Apps For A Subscription At Location #
Ask an LLM
“What deleted web apps exist in one Azure region?”
“Can I narrow deleted apps to a single location?”
Tell an agent
List deleted web apps in {location} for subscription {subscriptionId}.
Show deleted App Service apps in region {location}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId} Get a deleted web app by location · Microsoft Azure Get Deleted App For A Subscription At Location #
Ask an LLM
“When was a particular web app deleted and what was its name?”
“Can I look up one deleted app by its deleted site ID?”
Tell an agent
Get deleted web app {deletedSiteId} in {location}, subscription {subscriptionId}.
Show details of deleted site {deletedSiteId} in {location}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-deletedwebapps-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-deletedwebapps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-01-01'
  title: Microsoft Azure API Client Deleted Web Apps API
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DeletedWebApps
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites:
    get:
      tags:
      - DeletedWebApps
      summary: Microsoft Azure Get All Deleted Apps For A Subscription
      description: Description for Get all deleted apps for a subscription.
      operationId: microsoftAzureDeletedwebappsList
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedWebAppCollection'
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites:
    get:
      tags:
      - DeletedWebApps
      summary: Microsoft Azure Get All Deleted Apps For A Subscription At Location
      description: Description for Get all deleted apps for a subscription at location
      operationId: microsoftAzureDeletedwebappsListbylocation
      parameters:
      - name: location
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedWebAppCollection'
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        List Deleted Web App by Location:
          $ref: ./examples/ListDeletedWebAppsByLocation.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}:
    get:
      tags:
      - DeletedWebApps
      summary: Microsoft Azure Get Deleted App For A Subscription At Location
      description: Description for Get deleted app for a subscription at location.
      operationId: microsoftAzureDeletedwebappsGetdeletedwebappbylocation
      parameters:
      - name: location
        in: path
        required: true
        schema:
          type: string
      - name: deletedSiteId
        in: path
        description: The numeric ID of the deleted app, e.g. 12345
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DeletedSite
        default:
          description: App Service error response.
          content:
            application/json:
              schema:
                $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get Deleted Web App by Location:
          $ref: ./examples/GetDeletedWebAppByLocation.json
components:
  schemas:
    DeletedWebAppCollection:
      description: Collection of deleted apps.
      required:
      - value
      type: object
      properties:
        value:
          description: Collection of resources.
          type: array
          items:
            $ref: ./CommonDefinitions.json#/definitions/DeletedSite
        nextLink:
          description: Link to next page of resources.
          type: string
          readOnly: true
  parameters:
    apiVersionParameter:
      name: api-version
      in: query
      description: API Version
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)