---
title: "Create a new template."
method: POST
path: "/templates"
tags: ["Templates"]
---

# Create a new template.

`POST /templates`

Defines a new template comprised on the components, and their configuration, to construct a Greengrass core device from.

## Response `201`

Created

## Other responses

- `400` — Invalid input
- `409` — Conflict

---

[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)
