# system.kanoa.dashboard.deleteDashboard(dashboardId, userId)

Deletes a dashboard.

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

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

---
### Example
```python
userId = 123
dashboardId = 4
retVal, msg = system.kanoa.dashboard.deleteDashboard(dashboardId, userId)
if msg:	system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'Dashboard has been deleted')
```
