Method: Auth0::Api::V2::Clients#patch_client
- Defined in:
- lib/auth0/api/v2/clients.rb
#patch_client(client_id, options) ⇒ Object
Updates a client.
69 70 71 72 73 74 |
# File 'lib/auth0/api/v2/clients.rb', line 69 def patch_client(client_id, ) raise Auth0::MissingClientId, 'Must specify a client id' if client_id.to_s.empty? raise Auth0::MissingParameter, 'Must specify a valid body' if .to_s.empty? path = "#{clients_path}/#{client_id}" patch(path, ) end |