Environment Variable
Edit an environment variable belonging to the environment
- You can't edit a BUILT_IN variable
- For an override, you can't edit the key
- For an alias, you can't edit the value
- An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
put/environment/{environmentId}/environmentVariable/{environmentVariableId}
Request
- Base URLhttps://api.qovery.com
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
environmentIdstring uuid required
Environment ID
environmentVariableIdstring uuid required
Environment Variable ID
Request body
Response
Edited the environment variable value
Example response
{
"aliased_variable": {
"key": "QOVERY_DATABASE_PSQL_NAME"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.