system.kanoa.item.deleteItem
Description
Deletes an item (kanoaOPS).Syntax
deleteItem(itemId, userId)- itemId (Integer) - ID of the item to delete.
- userId (Integer) - User ID.
- success (Boolean) - True if deletion is successful, False otherwise.
- errorMsg (String) - Error message if deletion fails.
Code Examples
# Example Usage:
deleted, errorMsg = system.kanoa.item.deleteItem(1, 123)