Create or update a variable
Changed onCreates a project-level environment variable and triggers asynchronous propagation to deployed functions and frontends in the project's configured regions.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Request body
Include this name in the project's shared function variables. Omission preserves existing membership; new variables default to true for legacy clients. Send false explicitly to create a non-shared variable.
Project variable name. Function runtime names such as AWS_REGION are reserved and return 400; see the environment variables guide for the full list.
Response
Variable created
Include this name in the project's shared function variables. Omission preserves existing membership; new variables default to true for legacy clients. Send false explicitly to create a non-shared variable.
Whether this name is in the project's shared frontend-variable list.
Latest project variable propagation status, when a sync has run.
Identifier of the latest variable propagation sync.
Timestamp when the current variable propagation phase started.
What initiated the latest variable propagation sync, when one has run.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API - info
added the optional property
frontend_sharedto the response with the status
- info
- breaking
added the new path request parameter
id
20 more changes in this revision
- breaking