def METHOD_NAME(self, request: Request, project, plugin_id) -> Response:
    """
    Enable plugin, Test plugin or Reset plugin values
    """
    plugin = self._get_plugin(plugin_id)
    if request.data.get("test") and plugin.is_testable():
        test_results = plugin.test_configuration_and_get_test_results(project)
        return Response({"detail": test_results}, status=200)
    if request.data.get("reset"):
        plugin = self._get_plugin(plugin_id)
        plugin.reset_options(project=project)
        context = serialize(plugin, request.user, PluginWithConfigSerializer(project))
        self.create_audit_entry(
            request=request,
            organization=project.organization,
            target_object=project.id,
            event=audit_log.get_event_id("INTEGRATION_EDIT"),
            data={"integration": plugin_id, "project": project.slug},
        )
        return Response(context, status=200)
    if not plugin.can_disable:
        return Response({"detail": ERR_ALWAYS_ENABLED}, status=400)
    plugin.enable(project)
    self.create_audit_entry(
        request=request,
        organization=project.organization,
        target_object=project.id,
        event=audit_log.get_event_id("INTEGRATION_ADD"),
        data={"integration": plugin_id, "project": project.slug},
    )
    return Response(status=201)