Hi Oscar,
Look at this post which might help you how you can do that: https://jazz.net/forum/questions/135858/how-to-perform-particular-action-using-rest-api-in-clm-applications
I don't see it working in that particular since I want to create or update build definitions and, unless I missed something, it is not possible through the web interface.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.