Microsoft Azure Deleted Web Apps API Client

The Microsoft Azure Deleted Web Apps API Client is a tool that allows users to manage and monitor the deletion of web applications on the Azure cloud platform. This API client provides developers with the ability to retrieve information on deleted web apps, including details such as the deletion date and time, as well as any associated resources that were removed along with the app.

OpenAPI Specification

deletedwebapps-api-client-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: '2023-01-01'
  title: Microsoft Azure DeletedWebApps API Client
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
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: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/DeletedWebAppCollection'
        default:
          description: App Service error response.
          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
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/DeletedWebAppCollection'
        default:
          description: App Service error response.
          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
          type: string
        - name: deletedSiteId
          in: path
          description: The numeric ID of the deleted app, e.g. 12345
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DeletedSite
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get Deleted Web App by Location:
          $ref: ./examples/GetDeletedWebAppByLocation.json
definitions:
  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:
  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
    type: string
    x-ms-parameter-location: client
  apiVersionParameter:
    name: api-version
    in: query
    description: API Version
    required: true
    type: string
    x-ms-parameter-location: client
securityDefinitions:
  azure_auth:
    type: oauth2
    description: Azure Active Directory OAuth2 Flow
    flow: implicit
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    scopes:
      user_impersonation: impersonate your user account
security:
  - azure_auth:
      - user_impersonation
tags:
  - name: DeletedWebApps