Command Palette
Search for a command to run

Set environment variables

Set or replace all environment variables for an environment

PUT
/auth/v1/seed/{namespace}/projects/{proj}/environments/{env}/env-vars

Existing variables not included in the request are removed.

Path parameters


namespace
type: string
required
The namespace (user or organization) the project belongs to.
proj
type: string
required
The project ID or slug.
env
type: string
required
The environment ID or name.

Body parameters


env_vars
type: object
required
Environment variables as key-value pairs. Replaces all existing variables.

Previous Get env variables

Next List cron jobs