Edit an environment variable
Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project id
or name
in the URL.
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
"prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA"
The unique environment variable identifier
"XMbOEya1gUUO1ir4"
Query Parameters
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Body
The name of the environment variable
"GITHUB_APP_ID"
The target environment of the environment variable
production
, preview
, development
["preview"]
If defined, the git branch of the environment variable (must have target=preview)
250
"feature-1"
The type of environment variable
system
, secret
, encrypted
, plain
, sensitive
"plain"
The value of the environment variable
"bkWIjbnxcvo78"
The custom environments that the environment variable should be synced to
A comment to add context on what this env var is for
500
"database connection string for production"
Response
system
, encrypted
, plain
, sensitive
, secret
This is used to identiy variables that have been migrated from type secret to sensitive.
Similar to contentHints
, but should not be exposed to the user.
Whether value
and vsmValue
are decrypted.
system
, encrypted
, plain
, sensitive
, secret
This is used to identiy variables that have been migrated from type secret to sensitive.
Similar to contentHints
, but should not be exposed to the user.
Whether value
and vsmValue
are decrypted.
The response is of type object
.