[#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(0x7ff37af172c8), requires_capability(0x7ff376b842a8), requires_capability(0x7ff37ded1e98), requires_capability(0x7ff36c6170b8), requires_capability(0x7ff37c49af18), requires_capability(0x7ff39283d918)]] 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]#