---
title: "PATCH /ver2/PortalService.svc/portal/dashboard/paneltemplates/{panelTemplateIdOrName}"
method: PATCH
path: "/ver2/PortalService.svc/portal/dashboard/paneltemplates/{panelTemplateIdOrName}"
tags: ["Portal"]
---

# PATCH /ver2/PortalService.svc/portal/dashboard/paneltemplates/{panelTemplateIdOrName}

`PATCH /ver2/PortalService.svc/portal/dashboard/paneltemplates/{panelTemplateIdOrName}`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/PortalService.svc/portal/dashboard/paneltemplates/{panelTemplateIdOrName}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/PortalService.svc/portal/dashboard/paneltemplates/:panelTemplateIdOrName/patch.ts> (a function with typed inputs; its response is checked against the schema)

envianceSdk.portal.updatePanelTemplate
```
[
  "Panel Template Name",
  {
    "name": "Panel Template Name",
    "properties": {
      "Position": "top"
    }
  },
  "onsuccess",
  "onerror"
]
```

## Path parameters

- `panelTemplateIdOrName` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Request body

- UpdatePanelTemplate
  - `panelTemplateInfo` EnvianceRestServicesVer2PortalDtoPanelTemplateInfo
    - `id` string, guid
    - `name` string
    - `properties` object

## Response `default`

not available

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
