Method: Chef::ApiClient#destroy
- Defined in:
- lib/chef/api_client.rb
#destroy ⇒ Object
Remove this client via the REST API
218 219 220 |
# File 'lib/chef/api_client.rb', line 218 def destroy Chef::REST.new(Chef::Config[:chef_server_url]).delete_rest("clients/#{@name}") end |