# system.kanoa.asset.deleteAssets(assetId, userId)

Deletes the asset and all children underneath. Will only succeed if there is no historical data for any of the assets, otherwise need to use the
deleteAssetsWithForce() function with CAUTION

---
### Parameters
**assetId** `Integer`: Id of the asset to delete<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of assets deleted** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
assetId = 123
userId = 456
retVal, message = system.kanoa.asset.deleteAssets(assetId, userId)
```
