---
title: "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app."
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}"
tags: ["WebApps"]
---

# Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}`

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

## Path parameters

- `resourceGroupName` string, required
- `name` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- SitePatchResource — unresolved $ref

## Response `200`

OK.

- Site — unresolved $ref

## Other responses

- `202` — Asynchronous operation in progress.
- `default` — App Service error response.

---

[API](https://skmtc.dev/azure/apis/webapps-api-client.md) · [All operations](https://skmtc.dev/azure/apis/webapps-api-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/webapps-api-client/revisions/54aaf9786c4f/schema)
