Expose user unsetup method from the API server. Added functional tests.
[arvados.git] / services / api / config / routes.rb
index 2b92a7b481d19da802e8377ebe53c0c99137ba7d..4bc5de8c8462f1ffca9e75663652866e5c77fdfe 100644 (file)
@@ -90,6 +90,7 @@ Server::Application.routes.draw do
       match '/users/:uuid/event_stream' => 'users#event_stream'
       post '/users/:uuid/activate' => 'users#activate'
       post '/users/setup' => 'users#setup'
+      post '/users/:uuid/unsetup' => 'users#unsetup'
       match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins'
       match '/virtual_machines/:uuid/logins' => 'virtual_machines#logins'
       post '/api_client_authorizations/create_system_auth' => 'api_client_authorizations#create_system_auth'