DeletedWebApps API Client icon

DeletedWebApps API Client

Connect to DeletedWebApps API Client with 1 MCP tools for AI-powered API automation.

COMMUNITYBEARER0 INSTALLS
OpenAPI Specificationv3.0
{
  "swagger": "2.0",
  "schemes": [
    "https"
  ],
  "host": "management.azure.com",
  "info": {
    "title": "DeletedWebApps API Client",
    "version": "2018-02-01",
    "x-apisguru-categories": [
      "cloud"
    ],
    "x-logo": {
      "url": "https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png"
    },
    "x-origin": [
      {
        "format": "swagger",
        "url": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/DeletedWebApps.json",
        "version": "2.0"
      }
    ],
    "x-preferred": true,
    "x-providerName": "azure.com",
    "x-serviceName": "web-DeletedWebApps",
    "x-tags": [
      "Azure",
      "Microsoft"
    ]
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "securityDefinitions": {
    "azure_auth": {
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
      "description": "Azure Active Directory OAuth2 Flow",
      "flow": "implicit",
      "scopes": {
        "user_impersonation": "impersonate your user account"
      },
      "type": "oauth2"
    }
  },
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "parameters": {
    "apiVersionParameter": {
      "description": "API Version",
      "in": "query",
      "name": "api-version",
      "required": true,
      "type": "string"
    },
    "subscriptionIdParameter": {
      "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
      "in": "path",
      "name": "subscriptionId",
      "required": true,
      "type": "string"
    }
  },
  "paths": {
    "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": {
      "get": {
        "description": "Get all deleted apps for a subscription.",
        "operationId": "DeletedWebApps_List",
        "parameters": [
          {
            "$ref": "#/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/parameters/apiVersionParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/DeletedWebAppCollection"
            }
          },
          "default": {
            "description": "App Service error response.",
            "schema": {
              "description": "App Service error response.",
              "properties": {
                "error": {
                  "description": "Error model.",
                  "properties": {
                    "code": {
                      "description": "Standardized string to programmatically identify the error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "details": {
                      "items": {
                        "description": "Detailed errors.",
                        "properties": {
                          "code": {
                            "description": "Standardized string to programmatically identify the error.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "message": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "target": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          }
                        },
                        "readOnly": true
                      },
                      "type": "array"
                    },
                    "innererror": {
                      "description": "More information to debug error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "message": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "target": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "readOnly": true,
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "summary": "Get all deleted apps for a subscription.",
        "tags": [
          "DeletedWebApps"
        ],
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": {
      "get": {
        "description": "Get all deleted apps for a subscription at location",
        "operationId": "DeletedWebApps_ListByLocation",
        "parameters": [
          {
            "in": "path",
            "name": "location",
            "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": {
              "description": "App Service error response.",
              "properties": {
                "error": {
                  "description": "Error model.",
                  "properties": {
                    "code": {
                      "description": "Standardized string to programmatically identify the error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "details": {
                      "items": {
                        "description": "Detailed errors.",
                        "properties": {
                          "code": {
                            "description": "Standardized string to programmatically identify the error.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "message": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "target": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          }
                        },
                        "readOnly": true
                      },
                      "type": "array"
                    },
                    "innererror": {
                      "description": "More information to debug error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "message": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "target": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "readOnly": true,
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "summary": "Get all deleted apps for a subscription at location",
        "tags": [
          "DeletedWebApps"
        ],
        "x-ms-examples": {
          "List Deleted Web App by Location": {
            "parameters": {
              "api-version": "2018-02-01",
              "location": "West US 2",
              "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
            },
            "responses": {
              "200": {
                "body": {
                  "nextLink": null,
                  "value": [
                    {
                      "name": "wussite6",
                      "properties": {
                        "deletedSiteId": 9,
                        "deletedSiteName": "wussite6",
                        "deletedTimestamp": "2019-05-09T22:29:05.1337007",
                        "geoRegionName": "West US 2",
                        "kind": "app",
                        "resourceGroup": "rg1",
                        "slot": "Production",
                        "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
                      },
                      "type": "Microsoft.Web/locations/deletedSites"
                    }
                  ]
                },
                "headers": {}
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": {
      "get": {
        "description": "Get deleted app for a subscription at location.",
        "operationId": "DeletedWebApps_GetDeletedWebAppByLocation",
        "parameters": [
          {
            "in": "path",
            "name": "location",
            "required": true,
            "type": "string"
          },
          {
            "description": "The numeric ID of the deleted app, e.g. 12345",
            "in": "path",
            "name": "deletedSiteId",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/parameters/apiVersionParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "allOf": [
                {
                  "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.",
                  "properties": {
                    "id": {
                      "description": "Resource Id.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "kind": {
                      "description": "Kind of resource.",
                      "type": "string"
                    },
                    "name": {
                      "description": "Resource Name.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "type": {
                      "description": "Resource type.",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "x-ms-azure-resource": true
                }
              ],
              "description": "A deleted app.",
              "properties": {
                "properties": {
                  "description": "DeletedSite resource specific properties",
                  "properties": {
                    "deletedSiteId": {
                      "description": "Numeric id for the deleted site",
                      "format": "int32",
                      "readOnly": true,
                      "type": "integer"
                    },
                    "deletedSiteName": {
                      "description": "Name of the deleted site",
                      "readOnly": true,
                      "type": "string"
                    },
                    "deletedTimestamp": {
                      "description": "Time in UTC when the app was deleted.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "geoRegionName": {
                      "description": "Geo Region of the deleted site",
                      "readOnly": true,
                      "type": "string"
                    },
                    "kind": {
                      "description": "Kind of site that was deleted",
                      "readOnly": true,
                      "type": "string"
                    },
                    "resourceGroup": {
                      "description": "ResourceGroup that contained the deleted site",
                      "readOnly": true,
                      "type": "string"
                    },
                    "slot": {
                      "description": "Slot of the deleted site",
                      "readOnly": true,
                      "type": "string"
                    },
                    "subscription": {
                      "description": "Subscription containing the deleted site",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "x-ms-client-flatten": true
                }
              },
              "type": "object"
            }
          },
          "default": {
            "description": "App Service error response.",
            "schema": {
              "description": "App Service error response.",
              "properties": {
                "error": {
                  "description": "Error model.",
                  "properties": {
                    "code": {
                      "description": "Standardized string to programmatically identify the error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "details": {
                      "items": {
                        "description": "Detailed errors.",
                        "properties": {
                          "code": {
                            "description": "Standardized string to programmatically identify the error.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "message": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          },
                          "target": {
                            "description": "Detailed error description and debugging information.",
                            "readOnly": true,
                            "type": "string"
                          }
                        },
                        "readOnly": true
                      },
                      "type": "array"
                    },
                    "innererror": {
                      "description": "More information to debug error.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "message": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    },
                    "target": {
                      "description": "Detailed error description and debugging information.",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "readOnly": true,
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "summary": "Get deleted app for a subscription at location.",
        "tags": [
          "DeletedWebApps"
        ],
        "x-ms-examples": {
          "Get Deleted Web App by Location": {
            "parameters": {
              "api-version": "2018-02-01",
              "deletedSiteId": "9",
              "location": "West US 2",
              "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
            },
            "responses": {
              "200": {
                "body": {
                  "name": "wussite6",
                  "properties": {
                    "deletedSiteId": 9,
                    "deletedSiteName": "wussite6",
                    "deletedTimestamp": "2019-05-09T22:29:05.1337007",
                    "geoRegionName": "West US 2",
                    "kind": "app",
                    "resourceGroup": "rg1",
                    "slot": "Production",
                    "subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
                  },
                  "type": "Microsoft.Web/locations/deletedSites"
                },
                "headers": {}
              }
            }
          }
        }
      }
    }
  },
  "definitions": {
    "DeletedWebAppCollection": {
      "description": "Collection of deleted apps.",
      "properties": {
        "nextLink": {
          "description": "Link to next page of resources.",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "Collection of resources.",
          "items": {
            "allOf": [
              {
                "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.",
                "properties": {
                  "id": {
                    "description": "Resource Id.",
                    "readOnly": true,
                    "type": "string"
                  },
                  "kind": {
                    "description": "Kind of resource.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Resource Name.",
                    "readOnly": true,
                    "type": "string"
                  },
                  "type": {
                    "description": "Resource type.",
                    "readOnly": true,
                    "type": "string"
                  }
                },
                "x-ms-azure-resource": true
              }
            ],
            "description": "A deleted app.",
            "properties": {
              "properties": {
                "description": "DeletedSite resource specific properties",
                "properties": {
                  "deletedSiteId": {
                    "description": "Numeric id for the deleted site",
                    "format": "int32",
                    "readOnly": true,
                    "type": "integer"
                  },
                  "deletedSiteName": {
                    "description": "Name of the deleted site",
                    "readOnly": true,
                    "type": "string"
                  },
                  "deletedTimestamp": {
                    "description": "Time in UTC when the app was deleted.",
                    "readOnly": true,
                    "type": "string"
                  },
                  "geoRegionName": {
                    "description": "Geo Region of the deleted site",
                    "readOnly": true,
                    "type": "string"
                  },
                  "kind": {
                    "description": "Kind of site that was deleted",
                    "readOnly": true,
                    "type": "string"
                  },
                  "resourceGroup": {
                    "description": "ResourceGroup that contained the deleted site",
                    "readOnly": true,
                    "type": "string"
                  },
                  "slot": {
                    "description": "Slot of the deleted site",
                    "readOnly": true,
                    "type": "string"
                  },
                  "subscription": {
                    "description": "Subscription containing the deleted site",
                    "readOnly": true,
                    "type": "string"
                  }
                },
                "x-ms-client-flatten": true
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "value"
      ],
      "type": "object"
    }
  }
}