def refresh_keys(key_type, custom_headers:nil)
      response = refresh_keys_async(key_type, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def refresh_keys(key_type, custom_headers:nil)
      response = refresh_keys_async(key_type, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Re-generates an endpoint key.

 @param key_type [String] Type of Key
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EndpointKeysDTO] operation results.