Method: Keycloak::API::ClientResources#update_client

Defined in:
lib/keycloak/api/client_resources.rb

#update_client(id, client_rep) ⇒ Object

Parameters:



38
39
40
41
# File 'lib/keycloak/api/client_resources.rb', line 38

def update_client(id, client_rep)
  url = client_resources_url + "/#{id}"
  put(url, client_rep.to_json, headers: {content_type: :json})
end