The db.jobs.deleteOne() function deletes a job.
db.jobs.deleteOne()
Here is the syntax:
db.jobs.deleteOne({'name': "job_name"})
Was this page helpful?