# system.kanoa.lot.unlinkAssetLotState(lotStateReasonAssetLinkId, userId)

Unlinks an asset with an lotState

---
### Parameters
**lotStateReasonAssetLinkId** `Integer`<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**message** `String` Indicates the action taken ('Deleted' or 'Disabled')<br />

---
### Example
```python
lotStateReasonAssetLinkId = 1
userId = 123
recordsModified, msg = system.kanoa.lot.unlinkAssetLotState(lotStateReasonAssetLinkId, userId)
```
