# system.kanoa.inventory.deleteModel(modelId, userId)

Deletes the model record identified by `modelId`. 
This removes the model catalog entry permanently, so callers should confirm the model is not referenced by active assets before invoking it. 
The `userId` is recorded for audit purposes on the deletion.

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

---
### Returns
**success** `Boolean`<br />
**message** `String` None if success<br />

---
### Example
```python
modelId = 305
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
success, message = system.kanoa.inventory.deleteModel(modelId, userId)
print success, message
```
