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

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates/{resourceName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooktemplates/{resourceName}`

Updates a workbook template that has already been added.

## Path parameters

- `resourceName` string, required

## Parameters

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

## Request body

- WorkbookTemplateUpdateParameters — The parameters that can be provided when updating workbook template.
  - `tags` object — Resource tags
  - `properties` WorkbookTemplateProperties — Properties that contain a workbook template.
    - `priority` integer — Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
    - `author` string — Information about the author of the workbook template.
    - `templateData` object, required — Valid JSON object containing workbook template payload.
    - `galleries` WorkbookTemplateGallery[], required — Workbook galleries supported by the template.
      - `name` string — Name of the workbook template in the gallery.
      - `category` string — Category for the gallery.
      - `type` string — Type of workbook supported by the workbook template.
      - `order` integer — Order of the template within the gallery.
      - `resourceType` string — Azure resource type supported by the gallery.
    - `localized` object — Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.

## Response `200`

The workbook template definition updated.

- WorkbookTemplate — 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` object — Resource tags

## Other responses

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

## Changes

- **2020-07-28** (2019-10-17-preview) `f6e96fb62a63` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-13/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/workbooktemplates/:resourceName/patch.md)

---

[API](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-13.md) · [All operations](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-13/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-13/revisions/f6e96fb62a63?raw)
