Skip to main content

system.kanoa.quality.config.deleteAlertGroup

This function requires KanoaQDS module

Description

Deletes an alert group in KanoaQDS.

Syntax

deleteAlertGroup(alertGroupId, userId)
  • Parameters
      int alertGroupId - ID of the alert group to be deleted.
      int userId - User ID
  • Returns
      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}")