Create an environment
Create a new environment for a project
POST
Path parameters
namespace type: string (required)
The namespace (user or organization) the project belongs to.
proj type: string (required)
The project ID or slug.
Body parameters
name type: string (required)
A unique environment name within the project (e.g., `production`, `staging`, `preview`).
env_vars type: object
Environment variables as key-value pairs.
deployment_config type: object
Deployment configuration overrides for this environment (e.g., replicas, auto_deploy).