update and delete c# document firebase cloud code example Example: firestore delete document by id const res = await db.collection('cities').doc('DC').delete();