mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V
This commit is contained in:
@@ -2358,7 +2358,7 @@ class HostAdHocCommandsList(AdHocCommandList, SubListCreateAPIView):
|
||||
relationship = 'ad_hoc_commands'
|
||||
|
||||
|
||||
class AdHocCommandDetail(RetrieveAPIView):
|
||||
class AdHocCommandDetail(RetrieveDestroyAPIView):
|
||||
|
||||
model = AdHocCommand
|
||||
serializer_class = AdHocCommandSerializer
|
||||
|
||||
Reference in New Issue
Block a user