# system.kanoa.asset.unlinkAssetMode(modeAssetLinkId)

Unlinks a mode from an asset. Checks to see if this mode/asset combo has been stored in the modeEvent table and disables it if it has, otherwise deletes it

---
### Parameters
**modeAssetLinkId** `Integer`: Id of mode asset link to unlink<br />

---
### Returns
**retVal** `Integer` # of records modified<br />
**msg** `String` 'Deleted', 'Disabled' or error message<br />

---
### Example
```python
retVal, msg = system.kanoa.asset.unlinkAssetMode(123)
```
