# system.kanoa.quality.config.deleteTolerances(attribute, userId)

Deletes all tolerances for an attribute.

---
### Parameters
**attribute** `Integer`: Id of attribute tolerance 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
attributeId = 1
userId = 5
retVal, msg = system.kanoa.quality.config.deleteTolerances(attributeId, userId)
```
