---
title: "Publishes an existing device template."
method: PUT
path: "/templates/device/{templateId}/publish"
tags: ["Templates"]
---

# Publishes an existing device template.

`PUT /templates/device/{templateId}/publish`

## Response `204`

OK

## Other responses

- `400` — Invalid input
- `404` — Not found

## Changes

- **2021-08-28** `38800c573158` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/changes/templates/device/:templateId/publish/put.md)

---

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