summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-04-13 00:19:28 +1200
committerStan Hu <stanhu@gmail.com>2019-04-29 22:55:12 -0700
commitabb530a61958518f6e0c739406f34c558c504206 (patch)
tree14df66a315ff5dde728225d48b646a6596822d05 /config/routes.rb
parent43c284b711ddd4db55908de0590f946de5227db6 (diff)
downloadgitlab-ce-abb530a61958518f6e0c739406f34c558c504206.tar.gz
DELETE clusters/:id/:application endpoint
Add endpoint to delete/uninstall a cluster application
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bbf00208545..f5957f43655 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -103,6 +103,7 @@ Rails.application.routes.draw do
scope :applications do
post '/:application', to: 'clusters/applications#create', as: :install_applications
patch '/:application', to: 'clusters/applications#update', as: :update_applications
+ delete '/:application', to: 'clusters/applications#destroy', as: :uninstall_applications
end
get :cluster_status, format: :json