Managing jobs with code

Hello,

I would like to know if it is possible to manage running jobs with code? Listing, stopping and eventually pausing them.
I haven’t found something like this in the documentation but since the dashboard is able to do that, I think we can do it too.

Thank you.