diff --git a/awx/api/views.py b/awx/api/views.py index 8413b51d5d..7ea673b40e 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1472,6 +1472,12 @@ class JobTemplateSurveySpec(GenericAPIView): obj.save() return Response() + def delete(self, request, *args, **kwargs): + obj = self.get_object() + obj.survey_spec = {} + obj.save() + return Response() + class JobTemplateActivityStreamList(SubListAPIView): model = ActivityStream