---
title: "Get the difference in configuration settings between two web app slots."
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs"
tags: ["WebApps"]
---

# Get the difference in configuration settings between two web app slots.

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

Get the difference in configuration settings between two web app slots.

## 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

- SlotDifferenceCollection — Collection of slot differences.
  - `value` SlotDifference[], required — Collection of resources. — unresolved $ref
  - `nextLink` string — Link to next page of resources.

## Other responses

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