# system.kanoa.quality.config.deleteAttribute(attributeId, userId)

Deletes an attribute. FK constraints will prevent us from deleting an attribute that is being used by a check item

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

---
### Returns
**success** `Boolean`<br />
**message** `String` Returns # of records deleted or error message if success is False<br />

---
### Example
```python
attributeId = 1
userId = 5
success, msg = system.kanoa.quality.config.deleteAttribute(attributeId, userId)
```
