Delete data by ID
User.deleteById("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",(err,data) => { if(err) return console.log(err.message) console.log(data) //example answer /* {} */ })
Last updated 4 months ago