Method: Morpheus::ClientsInterface#destroy
- Defined in:
- lib/morpheus/api/clients_interface.rb
#destroy(id, params = {}) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/morpheus/api/clients_interface.rb', line 34 def destroy(id, params={}) url = "#{@base_url}/api/clients/#{id}" headers = { params: params, authorization: "Bearer #{@access_token}" } opts = {method: :delete, url: url, headers: headers} execute(opts) end |