# system.kanoa.security.deleteRole(roleId, userId)

Deletes a user role

---
### Parameters
**roleId** `Integer`<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
userId = 123
retVal, msg = system.kanoa.security.deleteRole(1, 123)
```
