Project Variables
Add a project variable
Add a variable to a project. The value can be either a string or a JSON object (default: string), as specified by the is_json boolean flag. See the Variables section in our documentation for more information.
post/projects/{projectId}/variables
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
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.