def release(key, session, options = {})
      custom_params = []
      custom_params << use_named_parameter('release', session)
      custom_params << use_named_parameter('dc', options[:dc]) if options[:dc]
      custom_params << use_named_parameter('flags', options[:flags]) if options && options[:flags]
      raw = send_put_request(@conn, ["/v1/kv/#{key}"], options, nil, custom_params)
      raw.body
    end
def release(key, session, options = {})
      custom_params = []
      custom_params << use_named_parameter('release', session)
      custom_params << use_named_parameter('dc', options[:dc]) if options[:dc]
      custom_params << use_named_parameter('flags', options[:flags]) if options && options[:flags]
      raw = send_put_request(@conn, ["/v1/kv/#{key}"], options, nil, custom_params)
      raw.body
    end
Release a lock
 @param key [String] the key
 @param session [String] the session, generated from Diplomat::Session.create
 @param options [Hash] :dc string for dc specific query
 @return [nil]
 rubocop:disable AbcSize