---
title: "Changes to Update an existing device template."
method: PATCH
path: "/templates/device/{templateId}"
---

# Changes to Update an existing device template.

`PATCH /templates/device/{templateId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 12 revisions.

- **2023-06-28** `f519f96625ee`: 1 info
- **2022-03-16** `96fbfe4ecd1c`: 4 breaking, 4 info
- **2021-08-28** `38800c573158`: 1 info

## Changes

- **2023-06-28** `f519f96625ee`: 1 info
  - added the non-success response with the status `500`
- **2022-03-16** `96fbfe4ecd1c`: 4 breaking, 4 info
  - the `relations/in/additionalProperties/items/` request property type changed from `string` to no type (media type: application/vnd.aws-cdf-v1.0+json)
  - the `relations/in/additionalProperties/items/` request property type changed from `string` to no type (media type: application/vnd.aws-cdf-v2.0+json)
  - the `relations/out/additionalProperties/items/` request property type changed from `string` to no type (media type: application/vnd.aws-cdf-v1.0+json)
  - the `relations/out/additionalProperties/items/` request property type changed from `string` to no type (media type: application/vnd.aws-cdf-v2.0+json)
  - added `subschema #1, subschema #2` to the `relations/in/additionalProperties/items/` request property `oneOf` list (media type: application/vnd.aws-cdf-v1.0+json)
  - added `subschema #1, subschema #2` to the `relations/in/additionalProperties/items/` request property `oneOf` list (media type: application/vnd.aws-cdf-v2.0+json)
  - added `subschema #1, subschema #2` to the `relations/out/additionalProperties/items/` request property `oneOf` list (media type: application/vnd.aws-cdf-v1.0+json)
  - added `subschema #1, subschema #2` to the `relations/out/additionalProperties/items/` request property `oneOf` list (media type: application/vnd.aws-cdf-v2.0+json)
- **2021-08-28** `38800c573158`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/docs/templates/device/:templateId/patch.md) - [API](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library.md) - [Page](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/changes/templates/device/:templateId/patch)
