Removing a document (persistent.deleteDocument)

You can use persistent.deleteDocument to remove a document from the database.

persistent.deleteDocument(ddName, id);
Parameter Type Required Description
ddName String Yes Name of the document definition
id String Yes The ID of the document you want to delete


You can use the following method to delete a document with BizzStream ID 2FwMgqxxPv6i4j8rc:

persistent.deleteDocument("project", "2FwMgqxxPv6i4j8rc");

results matching ""

    No results matching ""