code: public JSONObject updateApiKey(String key, JSONObject params) throws AlgoliaException {
      return this.updateApiKey(key, params, RequestOptions.empty);
    }
docs: Update a new api key
  
  @param params the list of parameters for this key. Defined by a JSONObject that
  can contains the following values:
  - acl: array of string
  - indices: array of string
  - validity: int
  - referers: array of string
  - description: string
  - maxHitsPerQuery: integer
  - queryParameters: string
  - maxQueriesPerIPPerHour: integer