I several rundeck jobs I want to change. Specifically, I want to add a new "on failure" notification.
Is there a way to change a job definition via API call?
At this moment the only way is to "re-uploading" the modified definition (XML or YAML formats) using dupeOption=update
on an import API call.
Example:
curl -v -H x-rundeck-auth-token:1AjHW1MnLCwKCzxEIANfD43VrDszME3U http://localhost:4440/api/38/project/ProjectEXAMPLE/jobs/import?dupeOption=update -F xmlBatch=@"HelloWorld.xml"