---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}"
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}`

Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.

## Path parameters

- `scopeName` string, required

## Parameters

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

## Request body

- TagsResource — A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance.
  - `tags` unknown

## Response `200`

Updating the Azure Monitor PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.

- AzureMonitorPrivateLinkScope — An azure resource object
  - `id` string — Azure resource Id
  - `name` string — Azure resource name
  - `type` string — Azure resource type
  - `location` string, required — Resource location
  - `tags` unknown

## Changes

- **2021-12-16** (2019-10-17-preview) `aac7807d4fe8` — 1 warning
  - deleted the `path` request parameter `resourceGroupName`
- **2021-01-08** (2019-10-17-preview) `f2fe359b6c7b` — 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2020-04-07** (2019-10-17-preview) `66716db2e014` — 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/monitormanagementclient-15/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/privateLinkScopes/:scopeName/patch.md)

---

[API](https://skmtc.dev/azure/apis/monitormanagementclient-15.md) · [All operations](https://skmtc.dev/azure/apis/monitormanagementclient-15/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/monitormanagementclient-15/revisions/8354f1dbf897?raw)
