remove all properties not in schema node code example Example: mongoose delete some properties from object after saving child = child.toObject(); delete child.password;