Skip to main content

system.kanoa.quality.config.deleteItemSet

This function requires KanoaQDS module

Description

Deletes an item set in KanoaQDS.

Syntax

deleteItemSet(itemSetId, userId)
  • Parameters
      int itemSetId - ID of the item set to be deleted.
      int userId - User ID.
  • Returns
      tuple(success: bool, message: str) - Deletion status and message.
  • Code Examples

    # Usage example
    item_set_id_to_delete = 1
    user_id = 123
    delete_status, delete_message = system.kanoa.quality.config.deleteItemSet(itemSetId=item_set_id_to_delete, userId=user_id)

    if delete_status:
    print(delete_message)
    else:
    print(f"Deletion failed. Reason: {delete_message}")