# Device Types

A **Device Type** is a **template** that allows you to provide properties that can be shared across all the devices of a particular device type.&#x20;

{% hint style="info" %}
For example, if you have 10 IAQ sensors, a template can be created including common properties that can be shared across all of them. A non-sharable property that cannot be included in the template could be their device IDs because they differ from device to device.
{% endhint %}

## You have two options:

* ### Load Device Type from [Repository](https://docs.widgelix.com/get-started/device-types/repository)
* ### Create from [scratch](https://docs.widgelix.com/get-started/device-types/create-from-scratch)

## Editing a Device Type

After creating a device type, you can edit any property except for the device type name.&#x20;

{% hint style="info" %}
If you only have **Viewer** rights, you cannot edit a device type.
{% endhint %}

On the **Device Types** page, click on the **name** of the **device type** from the list that you want to edit.&#x20;

All the properties of the device type will open on a single page in **edit mode**.

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FB2EKYlPIx3KSm6AfsDeE%2Fdevice-types-8.png?alt=media&#x26;token=b8fd6692-10b3-49a7-b094-7ab794512f69" alt=""><figcaption></figcaption></figure>

Once you have finished, scroll down the page and click the **Save** button to save the changes.

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FcIyfQEe8QjbzoWkoJ7NF%2Fdevice-types-2.png?alt=media&#x26;token=769fe16e-2bd4-41e3-a10e-2e4a6d652ac1" alt=""><figcaption></figcaption></figure>

## Deleting a Device Type

A **device type** can be deleted from the organization, and cannot be undone.

{% hint style="info" %}
If you only have Viewer rights, you cannot delete a device type.
{% endhint %}

On the **Device Types** page, click on the **name** of the **device type** from the list that you want to delete.

The **Edit Device Type** page will be displayed. Scroll down the page and then click on the **Delete** button.&#x20;

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FWCiqodZfqv2v9KQJDJAg%2Fdevice-types-1.png?alt=media&#x26;token=e44d6cc6-b97b-4d92-af8e-b43e964cab5a" alt=""><figcaption></figcaption></figure>

The **Delete device type** model will be displayed.&#x20;

In the **text box**, type in the exact name of the **device type**.&#x20;

Click on the **Delete** button.

<figure><img src="https://2494440469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fggsr9Xlsze5cwVr4WMof%2Fuploads%2FMHyNubxAgy7JbdkzlR8a%2Fdevice-types-5.png?alt=media&#x26;token=669745b8-6666-4eab-8fc5-9f332dfcddaf" alt="" width="375"><figcaption></figcaption></figure>

The **device type** will be removed from your organization.

{% hint style="info" %}
The **Delete** operation can't be undone.
{% endhint %}
