Hi! I want to know if I can & how could I override a repository variable via code that i push there?
Hi @[deleted],
Thank you for reaching out to the community.
You can override Bitbucket Cloud Pipelines repository variables via the API 2.0 endpoint below:
PUT /2.0/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}
You can also check this API 2.0 endpoint documentation for more information.
Hope it helps and do let me know if you have further questions.
Regards,Mark C
It looks like you're new here. Sign in or register to get started.