# system.kanoa.quality.config.deleteItemSet(itemSetId, userId)

Deletes an item set. FKs between the chkShtItemSetLink and itemsetLink tables will  prevent the deletion of this itemSetLink if it is being used

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

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

---
### Example
```python
itemSetId = 1
userId = 5
retVal, message = system.kanoa.quality.config.deleteItemSet(itemSetId, userId)
```
