Environment Variable
Add an environment variable to the environment
- Add an environment variable to the environment.
- If the environment variable key already exists, then it will be replaced by the new one.
- If the environment variable value points toward an existing environment variable key, it will be considered as an alias.
post/environment/{environmentId}/environmentVariable
Request
- Base URLhttps://api.qovery.com
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScripthttps://skmtc.dev/qovery/apis/qovery-api/docs/environment/:environmentId/environmentVariable/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
environmentIdstring uuid required
Environment ID
Request body
Response
Added an environment variable
Example response
{
"aliased_variable": {
"key": "QOVERY_DATABASE_PSQL_NAME"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.