[#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(0x7f2e1b099a58), requires_capability(0x7f2e26d1b1b8), requires_capability(0x7f2e375e1298), requires_capability(0x7f2e33368658), requires_capability(0x7f2e3542f648), requires_capability(0x7f2e28a741a8)]] 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]#