Variable Main Calls
Create a variable override
- Allows you to override a variable that has a higher scope.
- You have to specify a value (override) in the request body and the scope and the parent id of the variable to override (project id, environment id or service id)
- The system will create a new environment variable at the requested level with the same key as the one corresponding to the variable id passed as path parameter.
- The response body will contain the newly created variable
- Information regarding the overridden_variable will be exposed in the "overridden_variable" or in the "overridden_secret" field of the newly created variable
post/variable/{variableId}/override
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
variableIdstring uuid required
Variable ID
Request body
Response
Create variable override
Example response
{
"aliased_variable": {
"key": "DATABASE_PSQL_NAME"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.