Method: Auth0::Api::V2::Clients#delete_client
- Defined in:
- lib/auth0/api/v2/clients.rb
#delete_client(client_id) ⇒ Object
Deletes a client and all its related assets (like rules, connections, etc) given its id.
59 60 61 62 63 |
# File 'lib/auth0/api/v2/clients.rb', line 59 def delete_client(client_id) raise Auth0::MissingClientId, 'Must specify a client id' if client_id.to_s.empty? path = "#{clients_path}/#{client_id}" delete(path) end |