# system.kanoa.quality.config.deleteCheckWithHistory(chkItemId, userId)

Deletes a check item and any associated checkEvent data.

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

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
chkItemId = 3
userId = 5
retVal  = system.kanoa.quality.config.deleteCheck(chkItemId, userId)
```
