Delete Doc for Appwrite (Web)



    Khalid Khan

    Appwrite companion cookbook

    This code creates a promise that deletes a document from the appwrite database. The document IDs are provided as parameters. Once the promise has been fulfilled, the document is deleted.

    Shortcut: appwrite.web.deletedoc

    let promise = sdk.database.deleteDocument('[COLLECTION_ID]', '[DOCUMENT_ID]');
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.