<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.lockRelease.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.lockRelease</api:function-name><api:suggest>xdmp.lockrelease</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>lockrelease</api:suggest><api:function-link mode="xquery" fullname="xdmp:lock-release">/apidoc/8.0/xdmp:lock-release.xml</api:function-link><api:function mode="javascript" name="lockRelease" type="builtin" lib="xdmp" category="UpdateBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.lockRelease"><api:summary>
  Unlock a document or directory.  Releases the lock created with
  <code xmlns="http://www.w3.org/1999/xhtml">xdmp:lock-acquire</code>.
</api:summary><api:params><api:param name="uri" type="xs:string"><api:param-description>
    The URI of the document or directory to be unlocked.
  </api:param-description><api:param-name>uri</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>null</api:return><api:usage>
  <p xmlns="http://www.w3.org/1999/xhtml">Note that the lock described here area is a relatively heavy
  persistent document lock for file system emulation through WebDAV, not
  a relatively light transaction lock for database consistency.</p>
</api:usage><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
declareUpdate();
xdmp.lockRelease("/example.json");
=&gt; () 
</pre></api:example></api:function></api:function-page>