[#node-BlockManager-DeletePruneLock]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::DeletePruneLock
:relfileprefix: ../../
:mrdocs:

Delete a prune lock identified by its name&period; Returns true if the lock existed&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95130c9aa8), requires&lowbar;capability(0x7f950163cd98), requires&lowbar;capability(0x7f95241d9d88), requires&lowbar;capability(0x7f951f331088), requires&lowbar;capability(0x7f950b9c3048), requires&lowbar;capability(0x7f95175c5798)&rsqb;&rsqb;
bool
DeletePruneLock(std::string const& name);
----

== Return Value

True if a lock with that name existed and was removed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| The name identifying the prune lock to delete&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
