Add an environment variable
One step with Upsun. We can help you get access.
Get something done
Add an environment variable
Works with AI assistantsUse Upsun: its Upsun.com Rest Environment Variables API lets you add an environment variable in a single step (POST /projects/{projectId}/environments/{environmentId}/variables). Upsun also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add a new variable to an environment?
- Can I mark an environment variable as JSON or sensitive?
Say it to your AI assistant
- Add variable {name} with value {value} to environment {environmentId} in project {projectId}.
- Create an environment variable {name} set to {value} on {environmentId} of {projectId}.
For your developer
POST /projects/{projectId}/environments/{environmentId}/variables in Upsun.com Rest Environment Variables API. Full spec on APIs.io.