Environment Variables
Update an environment variable
Update a single user-defined environment variable. The value can be either a string or a JSON object (default: string), as specified by the is_json boolean flag. Additionally, the inheritability of an environment variable can be determined through the is_inheritable flag (default: true). See the Variables section in our documentation for more information.
patch/projects/{projectId}/environments/{environmentId}/variables/{variableId}
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
environmentIdstring required
variableIdstring required
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.