Hi,
I'm trying to update a pipeline variable using Cloud REST API request:
/2.0/repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}
So my query is
curl -X PUT -u log:pass https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} -H 'Content-Type: application/json' -d '{ "key": "%NAME%", "value": "%NEW VALUE%"}'
And the response is
"error": {"message": "Bad request", "detail": "Unexpected response body", "data": {"key": "unexpected.response.body", "arguments": {}}}}
Even when I'm trying to use GET in order to retrieve a repository level variable, I still get the same error