> ## 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.

# Update Asset

Update an asset.

<Note>
  External Documentation

  To learn more, visit the [Device 42 documentation](https://api.device42.com/#!/Assets/putAssets).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter            | Description                                                                                                                                         |
  | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Back Connection Type | Select the type of the back connection for the asset.                                                                                               |
  | Device ID            | The ID of the device to update on the asset.                                                                                                        |
  | Device IDs           | A comma-separated list of existing device IDs to attach to the asset.                                                                               |
  | Device Name          | The name of the device. <br /><br />**Note:** required in cases that `switchport ID` is not used.                                                   |
  | Name                 | The name of the asset to update.                                                                                                                    |
  | Service Level        | The service level of the asset.<br /><br />**Note:** `In Service`, `Spare`, `Not in Service` are pre-defined options, you can also use custom ones. |
  | Type                 | The type of the asset.                                                                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                   | Description                                                                                                                   |
  | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
  | Asset Number                | The number of the asset.                                                                                                      |
  | Back Image ID               | The ID of the back image file to update for the asset.                                                                        |
  | Back Image Name             | The name of the back image file - use instead of `Image File ID`.                                                             |
  | Building                    | The building name for the asset.                                                                                              |
  | Customer                    | The name of the customer of the asset.                                                                                        |
  | Depth                       | The depth to set to the asset. Defaults to `Half`, insert full to override.                                                   |
  | Image File ID               | The ID of the image file to update for the asset.                                                                             |
  | Image File Name             | The name of the image file - use instead of `Image File ID`.                                                                  |
  | In Service                  | Set status of service for the asset.                                                                                          |
  | Location                    | The location of the asset.                                                                                                    |
  | Module Host                 | The name of the module host to update on the asset (must be unique).                                                          |
  | Module Host ID              | The ID of the module host to update on the asset.                                                                             |
  | New Object Category         | New controlling access category. Use it to change category on a device if its already in use.                                 |
  | Notes                       | The notes to update on the asset.                                                                                             |
  | Numbering Start From        | The number to start from for patch panel ports. Defaults to `1`.                                                              |
  | Object Category             | The controlling access category of the asset. Can be in use in cases that `multitenancy` is on. **For example:** `Prod_East`. |
  | Orientation                 | The orientation of the asset - set to `Back` if back facing, otherwise ignored.                                               |
  | Patch Panel Model           | The name of the patch panel model to update on the asset (use instead of ID).                                                 |
  | Patch Panel Model ID        | The ID of the patch panel model to update on the asset.                                                                       |
  | Patch Panel Module Model    | The name of the patch panel module model to update on the asset (use instead of ID).                                          |
  | Patch Panel Module Model ID | The ID of the patch panel module model to update on the asset.                                                                |
  | Rack                        | Name of existing rack to update the asset to.                                                                                 |
  | Rack ID                     | The ID of the rack to update the asset to.                                                                                    |
  | Reserved                    | Select whether the asset is reserved on the rack.                                                                             |
  | Serial Number               | The serial number of the asset.                                                                                               |
  | Size                        | The size to update on the asset. Required if updating asset in rack.                                                          |
  | Slot Number                 | The number of the slot on rack.                                                                                               |
  | Start At                    | The timestamp to update on the asset. Required if updating asset in rack.                                                     |
  | Storage Room                | The name of the storage room.                                                                                                 |
  | Storage Room ID             | The ID of the storage room of the asset.                                                                                      |
  | Tags                        | The tags to update on the asset.                                                                                              |
  | Tags Remove                 | A comma-separated list of tags to remove.                                                                                     |
  | Tap Module Host             | The name of the tap module host.                                                                                              |
  | Tap Module Host ID          | The ID of the tap module host.                                                                                                |
  | Tap Module Model            | The name of the tap module model.                                                                                             |
  | Tap Module Model ID         | The ID of the tap module model.                                                                                               |
  | Vendor                      | The name of the vendor of the asset.                                                                                          |
  | Where                       | The location in the rack.                                                                                                     |
  | Width Ratio                 | The width ratio to set to the asset. Defaults to `1`.                                                                         |
  | X Pos                       | The position within the U slot in increments of 252. Valid range is `0`-`2520`.                                               |
</div>

## Example Output

```json theme={"dark"}
{
	"msg": [
		[
			"asset added/edited.",
			54,
			"test_api",
			true,
			true
		]
	],
	"code": 0
}
```

## Workflow Library Example

[Update Asset with Device 42 and Send Results Via Email](https://library.blinkops.com/workflows/update-asset-with-device-42-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/update-asset-with-device-42-and-send-results-via-email/canvas" />
</div>
