I want to disable a Jenkins job by sending a post curl request to Jenkins.
I\'ve tried doing that using:
curl -X POST http://:8080
The below is working for me
curl -X POST http:///job/jobname/disable
Make sure the user access to do that.