---
title: "Applies the configuration settings from the target slot onto the current slot."
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig"
tags: ["WebApps"]
---

# Applies the configuration settings from the target slot onto the current slot.

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

Applies the configuration settings from the target slot onto the current slot.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- CsmSlotEntity — Deployment slot parameters.
  - `targetSlot` string, required — Destination deployment slot during swap operation.
  - `preserveVnet` boolean, required — <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>.

## Response `200`

OK.

---

[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)
