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

Deletes a check. FK constraints will prevent us from deleting a check that is being used.

---
### 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 />
**message** `String` 'Deleted' or error message if # of records modified is 0<br />

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