---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}"
tags: ["PrivateZones"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}`

Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.

## Path parameters

- `resourceGroupName` string, required
- `privateZoneName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `If-Match` string

## Request body

- PrivateZone — The core properties of ARM resources
  - `id` string — Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
  - `name` string — The name of the resource
  - `type` string — The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

## Response `200`

The Private DNS zone has been updated.

- PrivateZone — The core properties of ARM resources
  - `id` string — Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
  - `name` string — The name of the resource
  - `type` string — The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

## Other responses

- `202` — The Private DNS zone update operation has been accepted and will complete asynchronously.
- `default` — Default response. It will be deserialized as per the Error definition.

---

[API](https://skmtc.net/azure/apis/privatednsmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/privatednsmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/privatednsmanagementclient/versions/28daf4548ac3/schema)
