# system.kanoa.performanceState.deletePerformanceState(performanceStateId, userId)

Delete a performance state and any associated links to assets

---
### Parameters
**performanceStateId** `Integer`: Id of the performance state 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
performanceStateId = 2
retVal, msg = system.kanoa.performanceState.deletePerformanceState(performanceStateId, userId)
print retVal, msg
>>>
    1, None
```
