Skip to main content
POST
Delete Jobs
You can delete one or multiple jobs via the /deletejobs endpoint. Deleted jobs no longer show up in /getjobs. Use /restorejobs to bring them back. Consider archiving jobs if you want to keep related data in the system.

REQUEST

array
required
An array of job IDs to delete. Jobs can be identified by their id or by using the template prefix (tpl-) for template jobs.
Deleting vs. archiving: Both can be undone with /restorejobs. Archived jobs can still be listed with includeArchived; deleted jobs can’t.Permissions: Only administrators and company owners can delete jobs. Dispatchers can only delete jobs if the dispatcher_delete_jobs setting is enabled.
If successful, you’ll get status:0 and the deleted job objects in the response.

RESPONSE