delete_jobs#

ProjectApi.delete_jobs(jobs)#

Delete jobs.

Parameters:
jobslist of ansys.hps.client.jms.Job

List of jobs. Note that only the ``id` field of the Job objects must be filled. The other fields can be empty.

Example:
>>> jobs_to_delete = []
>>> for id in [1,2,39,44]:
>>>    jobs_to_delete.append(Job(id=id))
>>> project_api.delete_jobs(jobs_to_delete)