Node.js - collection.doc.delete() Delete a document from a collection. CopyCopiedimport { collection } from '@nitric/sdk' const profiles = collection('profiles').for('deleting') const drakesProfile = profiles.doc('Drake Mallard') await drakesProfile.delete() See also doc.set() doc.get() Edit this page on GitHubHave feedback on this page?Open GitHub IssueLast updated on Oct 7, 2025