Sha256: d445152dc97bac450a5d5e323fe0b6d2333984162f715e2e068faf2c2dfd27b5
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 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).flush_store_data # } # "User deleted" # end #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-4.0.0.beta.10 | lib/rhoconnect/api/user/delete_user.rb |