---
title: "Update an existing template."
method: PUT
path: "/templates/{templateName}"
tags: ["Templates"]
---

# Update an existing template.

`PUT /templates/{templateName}`

Updates an existing template, creating a new template version in the process.

## Response `204`

Updated

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.dev/aws-samples/apis/connected-device-framework-greengrass-v2-provisioning.md) · [All operations](https://skmtc.dev/aws-samples/apis/connected-device-framework-greengrass-v2-provisioning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/connected-device-framework-greengrass-v2-provisioning/revisions/7fee7a72e42c/schema)
