Just for future reference, it’s also worth to mention that you can’t overwrite env vars defined in your config (bitrise.yml) with API defined env vars just by specifying the env var through the API call.
bitrise.yml
If you want to do that please follow this guide: