---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}"
tags: ["Vault"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}`

Performs update on the vault.

## Path parameters

- `vaultName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- VaultModelUpdate — Vault model update.
  - `tags` object — Gets or sets the resource tags.
  - `properties` VaultModelProperties — Vault properties.
    - `provisioningState` 'Canceled' | 'Creating' | 'Deleting' | 'Deleted' | 'Failed' | 'Succeeded' | 'Updating' — Gets or sets the provisioning state of the email configuration.
    - `serviceResourceId` string, arm-id — Gets or sets the service resource Id.
    - `vaultType` 'DisasterRecovery' | 'Migrate' — Gets or sets the type of vault.
    - `privateEndpointState` 'None' | 'InProgress' | 'Succeeded' | 'Deleting' | 'Failed' | 'Pending' — Private endpoint state for the vault.
    - `publicNetworkAccess` 'Enabled' | 'Disabled' — Property to enable or disable resource provider inbound network traffic from public clients.
    - `privateEndpointConnections` PrivateEndpointConnection[] — List of private endpoint connection. — unresolved $ref
  - `identity` VaultIdentityModel — Vault model.
    - `type` 'None' | 'SystemAssigned' | 'UserAssigned', required — Gets or sets the identityType which can be either SystemAssigned or None.
    - `principalId` string — Gets or sets the object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
    - `tenantId` string — Gets or sets a Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
  - `id` string — Gets or sets the Id of the resource.
  - `name` string — Gets or sets the name of the resource.
  - `type` string — Gets or sets the type of the resource.
  - `systemData` SystemData — unresolved $ref

## Response `200`

Azure operation completed successfully.

- VaultModel — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2021-02-16-preview) `081920ddc99c` — 1 warning
  - the optional response header `Azure-AsyncOperation` removed for the status `202`

[Change history](https://skmtc.dev/azure/apis/recoveryservicesdatareplication-microsoft-datareplication-da/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.DataReplication/replicationVaults/:vaultName/patch.md)

---

[API](https://skmtc.dev/azure/apis/recoveryservicesdatareplication-microsoft-datareplication-da.md) · [All operations](https://skmtc.dev/azure/apis/recoveryservicesdatareplication-microsoft-datareplication-da/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/recoveryservicesdatareplication-microsoft-datareplication-da/revisions/b36cad79df75/schema)
