from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView

from sandbox.apps.reset.core.core import reset_sandbox


class ResetSandboxAPIView(APIView):

    def post(self, request):
        """
        Start reset procedure
        """
        reset_sandbox()
        return Response(status=status.HTTP_200_OK)
