> ## 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).
</Note>

## Basic Parameters

<div className="integrations-table">
  | 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.                |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Old Device Name | Name of the user's old device in Druva inSync that is to be replaced with a new device.<br />**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.<br />All - To restore both, the data and the system settings from the existing device on the new device.<br />SYSTEM - To restore only the system settings from the existing device on the new device.<br />DATA - To restore only the data from the existing device on the new device.<br />**Note:** Specify the value for this parameter only if you want to replace the device for the user, else keep this field blank. |
</div>

## 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"
}
```

## Workflow Library Example

[Create Device Mapping with Druva and Send Results Via Email](https://library.blinkops.com/workflows/create-device-mapping-with-druva-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-device-mapping-with-druva-and-send-results-via-email/canvas" />
</div>
