Skip to main content

system.kanoa.asset.deleteAssetGroup

This function requires KanoaOPS module

Description

Deletes an asset group (kanoaOPS).

Syntax

deleteAssetGroup(assetGroupId, userId)
  • Parameters
      assetGroupId (int) - ID of the asset group to be deleted.
      userId (int) - User ID.
  • Returns
      successFlag (bool) - Boolean indicating the success of the operation.
      msg (str) - Status message ('Deleted' or error message).
  • Code Examples

    # Example Usage:
    group_id = 123
    user_id = 456
    success, message = system.kanoa.asset.deleteAssetGroup(group_id, user_id)