[#node-BlockManager-DeletePruneLock] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::DeletePruneLock :relfileprefix: ../../ :mrdocs: Delete a prune lock identified by its name. Returns true if the lock existed. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f95130c9aa8), requires_capability(0x7f950163cd98), requires_capability(0x7f95241d9d88), requires_capability(0x7f951f331088), requires_capability(0x7f950b9c3048), requires_capability(0x7f95175c5798)]] bool DeletePruneLock(std::string const& name); ---- == Return Value True if a lock with that name existed and was removed. == Parameters [cols="1,4"] |=== | Name| Description | *name* | The name identifying the prune lock to delete. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#