Description

The db.jobs.deleteOne() function deletes a job.

Syntax

Here is the syntax:

db.jobs.deleteOne({'name': "job_name"})