---
title: "Updates a patch patch template"
method: PATCH
path: "/patchTemplates/{templateName}"
tags: ["Patch Templates"]
---

# Updates a patch patch template

`PATCH /patchTemplates/{templateName}`

Defines a new template by specifying the type of the patch "agentless" or "agentbased" and a source of the ansible playbook.

## Response `201`

Created

## Other responses

- `400` — Invalid input

## Changes

- **2022-04-25** `9b9ffa028c42` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-device-patcher/changes/patchTemplates/:templateName/patch.md)

---

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