def METHOD_NAME(user, panel_app_api_url):
    with transaction.atomic():
        to_delete_qs = SeqrLocusList.objects.filter(palocuslist__url__startswith=panel_app_api_url)
        SeqrLocusList.bulk_delete(user, queryset=to_delete_qs)