system.kanoa.quality.config.deleteItemSet
Description
Deletes an item set in KanoaQDS.Syntax
deleteItemSet(itemSetId, userId)- int itemSetId - ID of the item set to be deleted.
- int userId - User ID.
- 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}")