class SampleViewSet(viewsets.ModelViewSet):
    queryset = api_models.Sample.objects.all()
serializer_class = api_serializers.SampleSerializer
http_method_names = ['get', 'post', 'head']
Отключить метод в ViewSet, django-rest-framework