Hey @shiva,
I believe branch_deploy is a boolean- maybe you’re looking for build settings? We don’t have a public API endpoint for that endpoint as far as I know, which means that we can’t promise it will always remain available, but for the time being you can watch the network requests that our UI makes. The request is a PUT and the payload is something like this for “allow all branches”: