projects

Create Environment Variables

Creates new environment variables for a given project. This endpoint will fail if any of the specified environment variable keys already exist, unless upsert is set to true.

post/projects/{projectId}/env-vars

Path parameters

projectIdstring required

The unique identifier of the project where environment variables should be created.

Query parameters

decrypted'true' | 'false'

Whether to return decrypted values. Defaults to false (encrypted).

Whether to return decrypted values. Defaults to false (encrypted).

Request body

upsertboolean

Whether to overwrite existing environment variables with the same keys. Defaults to false.

Response

Success

object'list' required

Changes