I can create jobs using /createItem?name=JOBNAME, but cant find anything in the docs about deleting jobs.
To delete any job from Gui,Go to your job and on left side,click on delete project. Save this answer.
The jenkins-rest library is an object oriented Java project that provides access to the Jenkins REST API programmatically to some remote API Jenkins provides. It is built using the jclouds toolkit and can easily be extended to support more REST endpoints.
Discovered by looking into how the delete button does it that you can just post to joburl/doDelete a bit like this..
wget -qO- --post-data="anything" http://HOST/job/JOBNAME/doDelete > /dev/null
Go to <JobURL>/api/?
You will get below text.
Delete a job
To programmatically delete this job, do HTTP POST to this URL.
DISCLAIMER: I tested it with Jenkins. But this should also work in Hudson.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With