I'm using Xcode server for CI, here we have couple of BOTs they are pointing to specific branch now and what we need is that whenever there is new release we should be able to switch them to new release branch using API without going to server manually and update them, For this option we tried using PATCH command recommended by apple, but it does not work rather it keep saying 400 even if we try apple's sample here https://developer.apple.com/library/ios/documentation/Xcode/Conceptual/XcodeServerAPIReference/Bots.html#//apple_ref/doc/uid/TP40016472-CH2-SW1
Any help is highly appreciated. Thanks