Return 404 for ad_hoc_command_events list api. Remove api endtpoint

This commit is contained in:
Alexander Komarov
2021-07-22 15:04:00 +05:00
parent 5d20acaa92
commit 27543aed1d
2 changed files with 1 additions and 14 deletions

View File

@@ -3,11 +3,10 @@
from django.conf.urls import url
from awx.api.views import AdHocCommandEventList, AdHocCommandEventDetail
from awx.api.views import AdHocCommandEventDetail
urls = [
url(r'^$', AdHocCommandEventList.as_view(), name='ad_hoc_command_event_list'),
url(r'^(?P<pk>[0-9]+)/$', AdHocCommandEventDetail.as_view(), name='ad_hoc_command_event_detail'),
]