---
title: "Replace a saved template's picture"
method: PUT
path: "/dashboards/v3/templates/{slug}/thumbnail"
tags: ["Dashboard v3 Surfaces"]
---

# Replace a saved template's picture

`PUT /dashboards/v3/templates/{slug}/thumbnail`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/v3/templates/{slug}/thumbnail`
- 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`

Upload the image a saved workspace template's card shows (multipart). Owner-or-workspace-admin only, and curated rows are never writable here — the same rule the rename door applies. PNG, JPEG or WebP, read from the file's own magic bytes rather than its name, up to 1 MB. Replaces whatever was there; the content hash moves, so every card pointing at the old picture points somewhere new on its next read.

## Path parameters

- `slug` string, required

## Response `200`

Deleted

- OkResponse
  - `ok` boolean, required

## 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/9d8804f81a10?raw)
