diff --git a/awx/main/views.py b/awx/main/views.py index 87f5a877be..3524b3e641 100644 --- a/awx/main/views.py +++ b/awx/main/views.py @@ -437,7 +437,7 @@ class UserDetail(RetrieveUpdateDestroyAPIView): if changed: raise PermissionDenied('Cannot change %s' % ', '.join(changed.keys())) -class CredentialList(ListAPIView): +class CredentialList(ListCreateAPIView): model = Credential serializer_class = CredentialSerializer