---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}"
tags: ["BackupVaults"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}`

Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.

## Path parameters

- `vaultName` string, required
- `resourceGroupName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- PatchResourceRequestInput — Patch Request content for Microsoft.DataProtection resources
  - `identity` DppIdentityDetails — Identity details
    - `principalId` string — 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 — A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
    - `type` string — The identityType which can be either SystemAssigned or None
  - `tags` object — Resource tags.

## Response `200`

OK

- BackupVaultResource
  - `eTag` string — Optional ETag.
  - `id` string — Resource Id represents the complete path to the resource.
  - `identity` DppIdentityDetails — Identity details
    - `principalId` string — 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 — A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
    - `type` string — The identityType which can be either SystemAssigned or None
  - `location` string — Resource location.
  - `name` string — Resource name associated with the resource.
  - `tags` object — Resource tags.
  - `type` string — Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
  - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
    - `createdBy` string — The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that created the resource.
    - `createdAt` string, date-time — The timestamp of resource creation (UTC).
    - `lastModifiedBy` string — The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that last modified the resource.
    - `lastModifiedAt` string, date-time — The type of identity that last modified the resource.

## Other responses

- `202` — Accepted
- `default` — Error response describing why the operation failed.

---

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