Sha256: c7a4e3d88f4506ad44cdd3266c6bf32fc3203a8c691a7c9d17d6c97665599cc7
Contents?: true
Size: 465 Bytes
Versions: 13
Compression:
Stored size: 465 Bytes
Contents
Server.api4 :delete_user, :delete, "/rc/#{Rhoconnect::API_VERSION}/users/:user_id", \ true, {:verb => :post, :url => ['/api/delete_user', '/api/user/delete_user']} do |params,user| User.load(params[:user_id]).delete App.load(APP_NAME).users.delete(params[:user_id]) params = {:app_id => APP_NAME,:user_id => params[:user_id]} App.load(APP_NAME).sources.each{ |source| Source.load(source, params).flash_store_data } "User deleted" end
Version data entries
13 entries across 13 versions & 1 rubygems