# system.kanoa.asset.unlinkAssetState(stateAssetLinkId)

Unlinks states from assets. If this state has been recorded in the stateEvent table against an asset, the link is disabled

---
### Parameters
**stateAssetLinkId** `Integer`: Id of stateAssetLink to unlink<br />

---
### Returns
**# of records modified** `Integer`<br />
**msg** `String` None if success<br />

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