Microsoft Azure Functions WebApps API

The WebApps API from Microsoft Azure Functions — 300 operation(s) for webapps.

OpenAPI Specification

microsoft-azure-functions-webapps-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: API Client AppServiceEnvironments WebApps API
  version: '2025-05-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
host: management.azure.com
schemes:
- https
consumes:
- application/json
produces:
- application/json
security:
- azure_auth:
  - user_impersonation
tags:
- name: WebApps
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites:
    get:
      operationId: WebApps_List
      tags:
      - WebApps
      summary: Get all apps for a subscription.
      description: Description for Get all apps for a subscription.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/WebAppCollection'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List Web apps for subscription:
          $ref: ./examples/ListWebApps.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites:
    get:
      operationId: WebApps_ListByResourceGroup
      tags:
      - WebApps
      summary: Gets all web, mobile, and API apps in the specified resource group.
      description: Description for Gets all web, mobile, and API apps in the specified resource group.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: includeSlots
        in: query
        description: Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps.
        required: false
        type: boolean
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/WebAppCollection'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List Web Apps by Resource group:
          $ref: ./examples/ListWebAppsByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}:
    get:
      operationId: WebApps_Get
      tags:
      - WebApps
      summary: Gets the details of a web, mobile, or API app.
      description: Description for Gets the details of a web, mobile, or API app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/Site'
        '404':
          description: The server cannot find the requested resource.
          x-ms-error-response: true
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Get Web App:
          $ref: ./examples/GetWebApp.json
    put:
      operationId: WebApps_CreateOrUpdate
      tags:
      - WebApps
      summary: Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
      description: Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: siteEnvelope
        in: body
        description: A JSON representation of the app properties. See example.
        required: true
        schema:
          $ref: '#/definitions/Site'
      responses:
        '200':
          description: Resource 'Site' update operation succeeded
          schema:
            $ref: '#/definitions/Site'
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          schema:
            $ref: '#/definitions/Site'
          headers:
            Location:
              type: string
              description: The Location header contains the URL where the status of the long running operation can be checked.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Clone web app:
          $ref: ./examples/CloneWebApp.json
        Create or Update Flex Consumption function app:
          $ref: ./examples/CreateOrUpdateFunctionAppFlexConsumption.json
        Create or Update Flex Consumption function app with details:
          $ref: ./examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json
        Create or Update web app:
          $ref: ./examples/CreateOrUpdateWebApp.json
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/Site'
      x-ms-long-running-operation: true
    patch:
      operationId: WebApps_Update
      tags:
      - WebApps
      summary: Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
      description: Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: siteEnvelope
        in: body
        description: A JSON representation of the app properties. See example.
        required: true
        schema:
          $ref: '#/definitions/SitePatchResource'
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/Site'
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          schema:
            $ref: '#/definitions/Site'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Update web app:
          $ref: ./examples/UpdateWebApp.json
    delete:
      operationId: WebApps_Delete
      tags:
      - WebApps
      summary: Deletes a web, mobile, or API app, or one of the deployment slots.
      description: Description for Deletes a web, mobile, or API app, or one of the deployment slots.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: deleteMetrics
        in: query
        description: If true, web app metrics are also deleted.
        required: false
        type: boolean
      - name: deleteEmptyServerFarm
        in: query
        description: Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.
        required: false
        type: boolean
      responses:
        '200':
          description: The request has succeeded.
        '204':
          description: There is no content to send for this request, but the headers may be useful.
        '404':
          description: The server cannot find the requested resource.
          x-ms-error-response: true
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Delete Web app:
          $ref: ./examples/DeleteWebApp.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname
  : get:
      operationId: WebApps_AnalyzeCustomHostname
      tags:
      - WebApps
      summary: Analyze a custom hostname.
      description: Description for Analyze a custom hostname.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: hostName
        in: query
        description: Custom hostname.
        required: false
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/CustomHostnameAnalysisResult'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Analyze custom hostname for webapp.:
          $ref: ./examples/AnalyzeCustomHostName.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig:
    post:
      operationId: WebApps_ApplySlotConfigToProduction
      tags:
      - WebApps
      summary: Applies the configuration settings from the target slot onto the current slot.
      description: Description for Applies the configuration settings from the target slot onto the current slot.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: slotSwapEntity
        in: body
        description: JSON object that contains the target slot name. See example.
        required: true
        schema:
          $ref: '#/definitions/CsmSlotEntity'
      responses:
        '200':
          description: Azure operation completed successfully.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Apply web app slot config:
          $ref: ./examples/ApplySlotConfig.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup:
    post:
      operationId: WebApps_Backup
      tags:
      - WebApps
      summary: Creates a backup of an app.
      description: Description for Creates a backup of an app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: request
        in: body
        description: Backup configuration. You can use the JSON response from the POST action as input here.
        required: true
        schema:
          $ref: '#/definitions/BackupRequest'
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/BackupItem'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Backup web app:
          $ref: ./examples/BackupWebApp.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups:
    get:
      operationId: WebApps_ListBackups
      tags:
      - WebApps
      summary: Gets existing backups of an app.
      description: Description for Gets existing backups of an app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/BackupItemCollection'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List web app backups:
          $ref: ./examples/ListWebAppBackups.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}:
    get:
      operationId: WebApps_GetBackupStatus
      tags:
      - WebApps
      summary: Gets a backup of an app by its ID.
      description: Description for Gets a backup of an app by its ID.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: backupId
        in: path
        description: ID of the backup.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/BackupItem'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Get web app backup:
          $ref: ./examples/GetWebAppBackup.json
    delete:
      operationId: WebApps_DeleteBackup
      tags:
      - WebApps
      summary: Deletes a backup of an app by its ID.
      description: Description for Deletes a backup of an app by its ID.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: backupId
        in: path
        description: ID of the backup.
        required: true
        type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '404':
          description: The server cannot find the requested resource.
          x-ms-error-response: true
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Delete web app backup:
          $ref: ./examples/DeleteWebAppBackup.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/list
  : post:
      operationId: WebApps_ListBackupStatusSecrets
      tags:
      - WebApps
      summary: Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.
      description: Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: backupId
        in: path
        description: ID of the backup.
        required: true
        type: string
      - name: request
        in: body
        description: Information on backup request.
        required: true
        schema:
          $ref: '#/definitions/BackupRequest'
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/BackupItem'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Get web app backup with secrets:
          $ref: ./examples/GetWebAppBackupWithSecrets.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore
  : post:
      operationId: WebApps_Restore
      tags:
      - WebApps
      summary: Restores a specific backup to another app (or deployment slot, if specified).
      description: Description for Restores a specific backup to another app (or deployment slot, if specified).
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: backupId
        in: path
        description: ID of the backup.
        required: true
        type: string
      - name: request
        in: body
        description: Information on restore request .
        required: true
        schema:
          $ref: '#/definitions/RestoreRequest'
      responses:
        '200':
          description: Azure operation completed successfully.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              type: string
              description: The Location header contains the URL where the status of the long running operation can be checked.
            Retry-After:
              type: integer
              format: int32
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Restore web app from backup:
          $ref: ./examples/RestoreWebAppBackup.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies
  : get:
      operationId: WebApps_ListBasicPublishingCredentialsPolicies
      tags:
      - WebApps
      summary: Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.
      description: Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/PublishingCredentialsPoliciesCollection'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List Publishing Credentials Policies:
          $ref: ./examples/ListPublishingCredentialsPolicies.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp
  : get:
      operationId: WebApps_GetFtpAllowed
      tags:
      - WebApps
      summary: Returns whether FTP is allowed on the site or not.
      description: Description for Returns whether FTP is allowed on the site or not.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Get FTP Allowed:
          $ref: ./examples/GetPublishingCredentialsPolicy_GetFtpAllowed.json
    put:
      operationId: WebApps_UpdateFtpAllowed
      tags:
      - WebApps
      summary: Updates whether FTP is allowed on the site or not.
      description: Description for Updates whether FTP is allowed on the site or not.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: csmPublishingAccessPoliciesEntity
        in: body
        description: ''
        required: true
        schema:
          $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
      responses:
        '200':
          description: Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded
          schema:
            $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Update FTP Allowed:
          $ref: ./examples/UpdatePublishingCredentialsPolicy_UpdateFtpAllowed.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm
  : get:
      operationId: WebApps_GetScmAllowed
      tags:
      - WebApps
      summary: Returns whether Scm basic auth is allowed on the site or not.
      description: Description for Returns whether Scm basic auth is allowed on the site or not.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Get SCM Allowed:
          $ref: ./examples/GetPublishingCredentialsPolicy.json
    put:
      operationId: WebApps_UpdateScmAllowed
      tags:
      - WebApps
      summary: Updates whether user publishing credentials are allowed on the site or not.
      description: Description for Updates whether user publishing credentials are allowed on the site or not.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: csmPublishingAccessPoliciesEntity
        in: body
        description: ''
        required: true
        schema:
          $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
      responses:
        '200':
          description: Resource 'CsmPublishingCredentialsPoliciesEntity' update operation succeeded
          schema:
            $ref: '#/definitions/CsmPublishingCredentialsPoliciesEntity'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Update SCM Allowed:
          $ref: ./examples/UpdatePublishingCredentialsPolicy.json
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config:
    get:
      operationId: WebApps_ListConfigurations
      tags:
      - WebApps
      summary: List the configurations of an app
      description: Description for List the configurations of an app
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/SiteConfigResourceCollection'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List web app configurations:
          $ref: ./examples/ListWebAppConfigurations.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings:
    put:
      operationId: WebApps_UpdateApplicationSettings
      tags:
      - WebApps
      summary: Replaces the application settings of an app.
      description: Description for Replaces the application settings of an app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      - name: appSettings
        in: body
        description: Application settings of the app.
        required: true
        schema:
          $ref: '#/definitions/StringDictionary'
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/StringDictionary'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        Update App Settings:
          $ref: ./examples/UpdateAppSettings.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list
  : post:
      operationId: WebApps_ListApplicationSettings
      tags:
      - WebApps
      summary: Gets the application settings of an app.
      description: Description for Gets the application settings of an app.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: name
        in: path
        description: Name of the app.
        required: true
        type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          schema:
            $ref: '#/definitions/StringDictionary'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/DefaultErrorResponse'
      x-ms-examples:
        List App Settings:
          $ref: ./examples/ListAppSettings.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettin

# --- truncated at 32 KB (848 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure-functions/refs/heads/main/openapi/microsoft-azure-functions-webapps-api-openapi.yml