---
title: "サムネイルテンプレートを部分更新する"
method: PATCH
path: "/api/v1/thumbnails/{thumbnailId}"
tags: ["thumbnails"]
---

# サムネイルテンプレートを部分更新する

`PATCH /api/v1/thumbnails/{thumbnailId}`

## Request

- Base URL: `https://app.yukkurigen.com`
- URL: `https://app.yukkurigen.com/api/v1/thumbnails/{thumbnailId}`
- Auth: HTTP bearer

## Path parameters

- `thumbnailId` string, required

## Request body

- object
  - `name` string
  - `background` object
  - `layers` object[]
  - `previewUrl` string

## Response `200`

更新成功

- object
  - `data` object

## Other responses

- `400`: リクエスト不正（code: validation_error）
- `401`: 未認証
- `403`: 権限不足（他人のテンプレート）
- `404`: 見つからない（code: not_found）

---

[API](https://skmtc.dev/yukkurigen/apis/yukkurigen-ai-operated-api.md) · [All operations](https://skmtc.dev/yukkurigen/apis/yukkurigen-ai-operated-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yukkurigen/apis/yukkurigen-ai-operated-api/revisions/ba5f36b016da?raw)
