---
title: "Update PWATemplate"
method: PATCH
path: "/api/v1/pwa_template/update/{pwa_template_id}"
tags: ["PWATemplate"]
---

# Update PWATemplate

`PATCH /api/v1/pwa_template/update/{pwa_template_id}`

Update PWATemplate details

## Path parameters

- `pwa_template_id` string, uuid, required

## Request body

- UpdatePWATemplateDTO — Request body for updating a template — every field optional, absent = unchanged.
  - `logoAssetId` string, uuid, nullable — Media Library asset id for the logo
  - `backgroundAssetId` string, uuid, nullable — Media Library asset id for the background
  - `screenshots` ScreenshotRefDTO[], nullable — Ordered mixed screenshots (library asset id or retained key)
    - `assetId` string, uuid, nullable — Library asset id for a freshly-picked screenshot
    - `key` string, nullable — Retained screenshot: a full URL or bare S3 key kept as-is
  - `removeLogo` boolean — Clear the logo
  - `removeBackground` boolean — Clear the background
  - `pwaTemplateName` string, nullable — New template name

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pwapps/apis/curie-api.md) · [All operations](https://skmtc.dev/pwapps/apis/curie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pwapps/curie-api/revisions/b0af9064dfef/schema)
