Update Secret Value
Path Parameters
Query Parameters
Request Body
Response
value_version is the environment’s version after this write — 1 when
this call stored the environment’s first value, otherwise the previous version
plus one. Because it is the version this call produced, storing it has no
read-after-write race with a rotation happening concurrently.
Compare it later with environments[].value_version from
GET /v1/secrets/:id to detect a rotation
performed outside your tooling. The value write and the version increment
commit in one transaction, so a rotation is never recorded without its counter
and a counter is never incremented without a rotation.