---
title: "PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}"
tags: ["DeploymentScripts"]
---

# PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}

`PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}`

Updates deployment script tags with specified values.

## Path parameters

- `resourceGroupName` string, required
- `scriptName` string, required

## Parameters

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

## Request body

- DeploymentScriptUpdateParameter — Common properties for all Azure resources.
  - `id` string — String Id used to locate any resource on Azure.
  - `name` string — Name of this resource.
  - `type` string — Type of this resource.

## Response `200`

Azure operation completed successfully.

- DeploymentScript — unresolved $ref

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-06-04** (2019-10-01-preview) `6d7ed28b7311` — 2 breaking
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/resources-microsoft-resources-deploymentscripts/changes/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Resources/deploymentScripts/:scriptName/patch.md)

---

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