title: How can i update a jenkins job using the api
body: <p>I have to create/update a jenkins job using its api because all of my jobs are using parameters which are also used by other scripts and I am trying to centralize the scripts so when i change it in one place, the change reflects in all. </p>
  
  <p>currently, if someone changes the script, they they also have to manually edit the parameters of the jenkins job as well.</p>
  
  <p>I saw the example of the Remote API for creating jobs and was able to successfully create test jobs but how can i edit an existing job besides deleting it and creating it again(which isnt an option as i have to maintain the build history).</p>