Disable/enable a Job
dzakaammar opened this issue · 2 comments
dzakaammar commented
I see that a Job struct has a disable status. What do you do to change the disable status after job creation? Regards.
ajvb commented
Haha, never realized these endpoints were not documented! Sorry about that @dzakaammar
As you can see here, all you have to do is sent a POST request to either: /api/v1/job/disable/{id}
or /api/v1/job/enable/{id}
where {id}
is the Job ID of the Job you want to disable or enable. That will disable or enable that job.
dzakaammar commented
Haha, no problem. Big thanks!