API referenceEnvironments
Update a variable
PATCH
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
project*stringProject slug
env*stringEnvironment slug
id*stringapplication/json- body
value?stringLength
length <= 32768visibility?VisibilityValue in
"plain""sensitive""secret"OK
application/json- response
id*stringkey*stringvisibility*VisibilityValue in
"plain""sensitive""secret"value*string|nullupdatedAt*stringupdatedBy*stringcurl -X PATCH "https://example.com/v1/orgs/string/projects/string/environments/string/variables/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "key": "string", "visibility": "plain", "value": "string", "updatedAt": "string", "updatedBy": "string"}