code: def delete_job(job_id):
      
  
      try:
          current_app.apscheduler.remove_job(job_id)
          return Response(status=204)
      except JobLookupError:
          return jsonify(dict(error_message='Job %s not found' % job_id), status=404)
      except Exception as e:
          return jsonify(dict(error_message=str(e)), status=500)
docs: Deletes a job.