system.kanoa.quality.config.deleteAlertGroup
Description
Deletes an alert group in KanoaQDS.Syntax
deleteAlertGroup(alertGroupId, userId)- int alertGroupId - ID of the alert group to be deleted.
- int userId - User ID
- bool successFlag - Boolean indicating the success of the deletion.
- str msg - Message indicating the result of the deletion.
Code Examples
# Usage example
delete_success, delete_msg = system.kanoa.quality.config.deleteAlertGroup(alertGroupId=1, userId=123)
if delete_success:
print(f"Successfully deleted alert group: {delete_msg}")
else:
print(f"Deletion failed: {delete_msg}")