> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Device Mapping

Creates a secure user-to-device mapping to perform a mass deployment in a non-AD/LDAP environment or perform bulk replace of devices.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Druva documentation](https://developer.druva.com/reference/post_endpoints-v1-devicemappings).

## Basic Parameters

| Parameter | Description |
| - | - |
| Device Identifier Type | Specify the unique device identifier type of the device. |
| Device Name | Specify the name of the device that is registered with the user. |
| Email ID | Specify the email address of the user. |
| User Name | Specify the username of the user in Druva inSync. |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Old Device Name | Name of the user's old device in Druva inSync that is to be replaced with a new device. **Note:** Specify the value for this parameter only if you want to replace the device for the user, else keep this field blank. |
| Restore Data | The type of data restore to be performed. All - To restore both, the data and the system settings from the existing device on the new device. SYSTEM - To restore only the system settings from the existing device on the new device. DATA - To restore only the data from the existing device on the new device. **Note:** Specify the value for this parameter only if you want to replace the device for the user, else keep this field blank. |

## Example Output

```json theme={"dark"}
{
	"mappingID": "3452rw6",
	"emailID": "ernie.carter@druva.com",
	"userName": "Ernie Carter",
	"deviceName": "Ernie Carter's Macbook",
	"deviceIdentifierType": "Serial Number",
	"deviceIdentifier": "Po3XF",
	"oldDeviceName": "Ernie Carter's Old Macbook",
	"restoreData": "SYSTEM"
}
```
