# system.kanoa.performanceState.deletePerformanceStateClass(performanceStateClassId, userId)

Deletes an item state class and any performance states or item state classes underneath it.

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

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

---
### Example
```python
userId = 18
performanceStateClassId = 7
deletePerformanceStateClass(performanceStateClassId, userId)
>>>
    1, None
```
