---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}"
tags: ["Diagnostics"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/diagnostics/{diagnosticName}`

Updates existing Diagnostic resource.

## Path parameters

- `diagnosticName` string, required

## Parameters

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

## Request body

- DiagnosticUpdate — The updatable properties of the Diagnostic.
  - `properties` DiagnosticUpdateProperties — The updatable properties of the Diagnostic.
    - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Initialized' | 'InProgress' | 'Deleting' — Provisioning state of resource
  - `tags` object — Resource tags.

## Response `200`

Azure operation completed successfully.

- Diagnostic — unresolved $ref

## Other responses

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

---

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