def METHOD_NAME(self, request, *args, **kwargs):
    instance = self.get_object()
    if instance.is_default:
        raise BadRequest(detail="Unable to delete default filter")
    else:
        write_resource_insight_log(
            instance=instance,
            author=self.request.user,
            event=EntityEvent.DELETED,
        )
        self.perform_destroy(instance)
        return Response(status=status.HTTP_204_NO_CONTENT)