Method: Chef::UserV1#destroy
- Defined in:
- lib/chef/user_v1.rb
#destroy ⇒ Object
137 138 139 140 |
# File 'lib/chef/user_v1.rb', line 137 def destroy # will default to the current API version (Chef::Authenticator::DEFAULT_SERVER_API_VERSION) Chef::ServerAPI.new(Chef::Config[:chef_server_url]).delete("users/#{@username}") end |