I've tried different variations of the REST uri including the documented uri,https://{account}.visualstudio.com/defaultcollection/{project}/_apis/build/definitions?api-version={version}, and I've tried different variations of the JSON that gets posted to this API, including the exact JSON given in the example on the
documentation website at
https://www.visualstudio.com/integrate/api/build/definitions, but every call returns 403 Forbidden. And yes I have given my application full access by specifyingvso.build_execute vso.chat_manage vso.code_manage for the scopes both in the app registration and in my initial OAuth authorize calls, but no matter what I always get the same 403 Forbidden result. I have been able to successfully call the other REST APIs.
Has anyone been able to get this API to work and if so, how were you able to get it to work?
Thanks,
Wells