> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/blynk.console/templates/working-with-templates.md).

# Working With Templates

Template is a set of elements and configurations, used to display all Devices of a particular type. Templates are created and edited while in developer mode.

For PRO plans where creating sub-organizations is possible, creating, copying, editing or deleting templates is only available in the root organization. These actions are not possible in a sub-organization.

<figure><img src="https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBFTVMf7L6S67HOuqVC%2Fuploads%2FR2emHE3tJioXga5eA1ne%2F21-working%20with%20templates%201.png?alt=media&amp;token=f26fe8ea-86df-4a01-961f-b01fa7d6f1fc" alt=""><figcaption></figcaption></figure>

## Create a Template

1. Clicking on Developer Zone you immediately get to the Templates section
2. Click **New Template** button to start configuring the Template
3. Provide basic Template info in the modal window opened, click Done
4. After that go through the tabs [Info](/en/blynk.console/templates/info.md), [Datastreams](/en/blynk.console/templates/datastreams.md), [Metadata](/en/blynk.console/templates/metadata.md), [Events ](/en/blynk.console/templates/events.md)and [Web Dashboard ](/en/blynk.console/templates/dashboard.md)to set up all components of the template
5. Click **Save** once you've finished the setup.

## Edit a Template

Click on a template tile to view the Template. Click on Edit button to be able to make any changes.\
You can also Duplicate or Delete the template using the dropdown menu.

<figure><img src="https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBFTVMf7L6S67HOuqVC%2Fuploads%2FFUgFmIwquPVjIvpXkV1S%2F22-working%20with%20templates-edit.gif?alt=media&amp;token=ec1dc50b-6160-4f33-bff4-a18bb3480efb" alt=""><figcaption></figcaption></figure>

## Delete a Template

{% hint style="warning" %}
This is a critical action that can affect how your devices and application work
{% endhint %}

1. Open the Template
2. In the drop-down menu select Delete option
3. A confirmation dialogue will appear
4. Templates without devices require simple confirmation
5. If there are devices created with this template you will have to type **in DELETE** (in caps) in the confirmation field and mark the checkbox to confirm that you understand the severity of this action
6. Click **DELETE**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blynk.io/en/blynk.console/templates/working-with-templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
