# system.kanoa.quality.config.deleteGroup(chkItemGroupId, chkShtId, userId)

Deletes a chkItem group. FK constraints will prevent the deletion of a check item group that is being used by a check item.
The remaining groups will be reordered after deleting an entry

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

---
### Returns
**success** `Boolean`<br />
**message** `string" # of records deleted or error message if success is false`<br />

---
### Example
```python
chkItemGroupId = 1
chkShtId = 2
userId = 5
success, message = system.kanoa.quality.config.deleteGroup(chkItemGroupId, chkShtId, userId)
```
