---
title: "Rename a saved workspace template"
method: PATCH
path: "/dashboards/v3/templates/{template_id}"
tags: ["Dashboard v3 Surfaces"]
---

# Rename a saved workspace template

`PATCH /dashboards/v3/templates/{template_id}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/v3/templates/{template_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Rename / re-describe a saved user template. Owner-or-workspace-admin only (curated rows are never mutable here); a foreign-workspace slug 404s (the store hides foreign user rows), a same-workspace non-owner non-admin 403s. Returns the updated detail payload.

## Path parameters

- `template_id` string, required

## Request body

- RenameTemplateSpec: Rename a saved workspace template
  - `params` RenameTemplateParams, required
    - `title` string, required
    - `description` string

## Response `200`

Template metadata + self-fit recipe

- TemplateDetailResponse
  - `template` object, required
  - `self_fit` object, required
  - `source_dashboard_id` integer, required
  - `explore` object, nullable

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
