---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}"
tags: ["DedicatedHsms"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}`

Update a dedicated HSM in the specified subscription.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- DedicatedHsmPatchParameters — Patchable properties of the dedicated HSM
  - `tags` object — Resource tags

## Response `200`

Patched dedicated HSM

- DedicatedHsm — Dedicated HSM resource
  - `id` string — The Azure Resource Manager resource ID for the dedicated HSM.
  - `name` string — The name of the dedicated HSM.
  - `type` string — The resource type of the dedicated HSM.
  - `location` string, required — The supported Azure location where the dedicated HSM should be created.
  - `sku` Sku — SKU of the dedicated HSM
    - `name` 'SafeNet Luna Network HSM A790' | 'payShield10K_LMK1_CPS60' | 'payShield10K_LMK1_CPS250' | 'payShield10K_LMK1_CPS2500' | 'payShield10K_LMK2_CPS60' | 'payShield10K_LMK2_CPS250' | 'payShield10K_LMK2_CPS2500' — SKU of the dedicated HSM
  - `zones` string[] — The Dedicated Hsm zones.
  - `tags` object — Resource tags

## Other responses

- `default` — The error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/azure-dedicated-hsm-resource-provider.md) · [All operations](https://skmtc.net/azure/apis/azure-dedicated-hsm-resource-provider/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-dedicated-hsm-resource-provider/revisions/e322a5d19f21/schema)
