I want to remove a field from the document so let me know I have to use the remove() method or update() method with the $unset operator.
You need update() method with the $unset operator.
update()
$unset
remove() is to delete document.
remove()