system.kanoa.asset.deleteCounter
Description
Deletes the counter in KanoaOPS. Foreign key constraints will prevent deletion if the counter has been used.Syntax
deleteCounter(counterId, userId)Parameters:
Returns:
Code Examples
# Usage example
successFlag, message = system.kanoa.asset.deleteCounter(counterId=123, userId=456)
if not successFlag:
print(f"Deletion failed: {message}")
else:
print(f"Successfully deleted counter.")