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
success_flag, message = system.kanoa.asset.deleteCounter(counterId=123, userId=456)
if not success_flag:
print(f"Deletion failed: {message}")
else:
print(f"Successfully deleted counter.")