Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Database#deleteDocument

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Database.prototype.deleteDocument
Re-export
import { Database } from "https://deno.land/x/appwrite@0.0.2/mod.ts";

Delete Document

Delete document by its unique ID. This endpoint deletes only the parent documents, his attributes and relations to other documents. Child documents will not be deleted.

Parameters

collectionId: string

collectionId

documentId: string

documentId

Returns

Promise<string>

Promise