> For the complete documentation index, see [llms.txt](https://docs.globalalerting.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globalalerting.com/administration/devices/managing-devices.md).

# Managing Devices

A device represents an object that sends messages to and / or receives messages from GAP.

A device can be anything that has a mechanism for sending and / or receiving data (including satellite phones, GSM (cellular) trackers, smartphone apps, etc.).

## Adding Devices

{% hint style="info" %}
Depending on the device type you select, you may need to enter additional information when creating a device (e.g. phone number).

If you do not see the type of device you want to add listed, please see the [Supported Devices List](/monitoring-and-response/working-with-devices/supported-devices.md).
{% endhint %}

{% hint style="info" icon="user-lock" %}
This action requires the **Add Device** permission.
{% endhint %}

1. From the GAP Admin home page, click "Devices" under the "Devices" section.
2. Click the "+ Add Device" button.
3. Select the tenant in which the device will reside using the "Tenant" drop-down list.
4. Enter a device ID in the "Device ID" text box.  The device ID must be unique (e.g. IMEI, GUID, etc.).
5. Enter a friendly name for the device in the "Device friendly name" field.
6. Select the type of device from the "Device type" drop-down list.
7. Select a user to whom the device is assigned from the "Assigned User" drop-down list.
8. Select a device manager from the "Device manager" drop-down list.
9. Select the device's provisioning status from the "Provisioning status" drop-down list.
10. Enter a description in the "Description" text box.
11. To add tags to the device, click "+ Add Tags".  Enter a tag name and tag value.  Repeat as required.
12. To add a note to the device, click "+ Add Note".
13. Click the "Submit" button.

{% embed url="<https://vimeo.com/1222589744?fe=ci&fl=sv&share=copy>" %}

## Editing Device Details

{% hint style="info" %}
Depending on the device type you select, you may have additional fields shown when editing a device (e.g. phone number).
{% endhint %}

{% hint style="info" icon="user-lock" %}
These actions require the **Edit Device** and **Change Device User** permissions.
{% endhint %}

1. From the GAP Admin home page, click "Devices" under the "Devices" section.
2. Click the name of the device you want to edit.
3. To change the friendly name, click "<i class="fa-pen">:pen:</i> EDIT" next to the device friendly name, amend the name in the text box and click the "Save" button.
4. To change the device status, toggle the "Status" option.
5. To assign the device to a different user, select the user from the "Assigned user" drop-down list.
6. To assign the device to a different device manager, select the device manager from the "Device manager" drop-down list.
7. To edit the device's tags, click "<i class="fa-pen">:pen:</i> EDIT TAGS" and amend the tag names or values as required.  Tags can be deleted by clicking "<i class="fa-trash">:trash:</i> DELETE".  New tags can be added by clicking "+ ADD TAG".  Click the "Done" button when complete.
8. To edit the device notes, amend the value in the "Notes" text box.
9. To change device-type specific settings (e.g. phone number, SIM card number, etc.), click the "Type-Specific Settings" tab and amend the settings as required.
10. Click the "Save Changes" button.

## Changing Device IDs

{% hint style="danger" icon="circle-exclamation" %}
Changing the device ID of app (e.g. GAP Guardian) will prevent it from communicating with GAP.

If you change the device ID of an app, ask the user to deactivate and log in again.
{% endhint %}

{% hint style="warning" icon="triangle-exclamation" %}
Changing a device ID is not recommended for devices with significant message histories.
{% endhint %}

{% hint style="info" icon="user-lock" %}
This action requires the **Edit Device** and **Change Device ID** permissions.
{% endhint %}

1. From the GAP Portal home page, click "Devices".
2. Click the name of the device you want to edit.
3. Under the "Device Actions" section, click "Configure Device".
4. Click "Advanced".
5. Click "Change Device Id".
6. Enter the new device ID in the "New Device Id" text box.  The device ID must be unique (e.g. IMEI, GUID, etc.).
7. Click "OK".

## Deactivating Devices

{% hint style="info" icon="user-lock" %}
This action requires the **Change Device Provisioning Status** permission.
{% endhint %}

Deactivating a device retains its data in GAP and stops messages being sent from it being processed (except for emergency messages).  The device will appear greyed out in the GAP Portal.

1. From the GAP Admin home page, click "Devices" under the "Devices" section.
2. Click the name of the device you want to deactivate.
3. To change the device status, toggle the "Status" option to off.
4. Click the "Save Changes" button.

## Deleting Devices

{% hint style="warning" icon="triangle-exclamation" %}
Deleting a device is irreversible.  Deleting a device will also delete all messages associated with it.  Consider deactivating it instead.
{% endhint %}

{% hint style="info" icon="user-lock" %}
This action requires the **Delete Device** permission.
{% endhint %}

1. From the GAP Admin home page, click "Devices" under the "Devices" section.
2. Click <i class="fa-trash-can">:trash-can:</i> (trash) icon next to the name of the device you want to delete.
3. Click the "Delete Device" button at the prompt.
