system.kanoa.asset.deleteAssetType
Description
Deletes the assetType and all assetTypes underneath. SQL Cascade should handle deleting children. It should also prevent us from deleting assetTypes if they are currently in use.Syntax
deleteAssetType(assetTypeID, userId)Parameters:
Returns:
Code Examples
# Example Usage:
asset_type_id = 123
user_id = 456
success, message = system.kanoa.asset.deleteAssetType(asset_type_id, user_id)