Set environment variables
Set or replace all environment variables for an environment
PUT
Existing variables not included in the request are removed.
Path parameters
namespace
type: string
requiredThe namespace (user or organization) the project belongs to.
proj
type: string
requiredThe project ID or slug.
env
type: string
requiredThe environment ID or name.
Body parameters
env_vars
type: object
requiredEnvironment variables as key-value pairs. Replaces all existing variables.
Previous → Get env variables
Next List cron jobs →