def get_group_detail(groups):
    """
    Iterate over group details from the response and retrieve details of groups.

    :param groups: list of group details from response
    :return: list of detailed element of groups
    :rtype: list
    """
    return [{
        'ID': group.get('id', ''),
        'Name': group.get('name', '')
    } for group in groups]