# system.kanoa.asset.deleteCounterType(counterTypeId, userId)

Deletes the counterType. SQL will prevent deletion of this counterType if it has been used

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

---
### Returns
**success** `Boolean`<br />
**msg** `String` # of records modified or error message<br />

---
### Example
```python
successFlag, message = system.kanoa.asset.deleteCounterType(counterTypeId=123, userId=456)
print successFlag, message
```
