# system.kanoa.item.deleteItemStateClass(itemStateClassId, userId)

Deletes an item stateclass and any item states or item state classes underneath it

---
### Parameters
**itemStateClassId** `Integer`: Id of the item state class to delete<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
itemStateClassId = 12
userId = 17
retVal, msg = system.kanoa.item.deleteItemStateClass(itemStateClassId, userId)
```
