diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-12 15:19:28 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-30 08:55:12 +0300 |
commit | abb530a61958518f6e0c739406f34c558c504206 (patch) | |
tree | 14df66a315ff5dde728225d48b646a6596822d05 /config/routes.rb | |
parent | 43c284b711ddd4db55908de0590f946de5227db6 (diff) |
DELETE clusters/:id/:application endpoint
Add endpoint to delete/uninstall a cluster application
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 1 |
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 |