permanently delete document

This block is part of the storage group and was last modified in core v9.2.5.

Storage Selection Required

This block relies on a storage to perform its storage releated actions. You must manually select the storage you want to use in your flow using the storage selector modal. To access the modal, click the white button on the block.

permanently delete document v9.2.5

Deletes the given document from the given storage permanently and unrecoverably.

In pins 2 + flow
  • flow
    flow
  • guid required
    value

    The documents GUID (unique ID) to delete.

  • very_sure required
    condition

    Indicate you very sure you want to execute this.

Out pins 2 + flow
  • flow
    flow
  • success
    condition

    Returns true in case the delete succeeded

  • error
    value

Hard-deletes the document with the given guid permanently and unrecoverably. The very_sure pin must be truthy (true, a non-zero number, or any string other than "", "0", or "false") or the block refuses with DID_NOT_PROVIDE_VERY_SURE and success=false; missing storage fails with MISSING_STORAGE. In simulation nothing is deleted but success=true is still reported.

A typical wiring for permanently delete document: branch feeds the flow pin; true feeds the very_sure pin; get document feeds the guid pin; the flow out pin feeds reply in JSON.

Studio canvas example for the permanently delete document block: typical wiring for permanently delete document.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: feeds into this block.
  • true: feeds into this block. Gives the condition true hard-coded.
  • get document: feeds into this block. get a specific document based on the given GUID.
  • reply in JSON: this block feeds into it. Reply to any httpconnection as JSON body.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v9.2.5.


Back to storage Return to the main group to view all sub-groups Back to storage Return to the group to view all blocks within this group