Actions65
- Auth Actions
- License Actions
- Monitor Actions
- Project Actions
- Service Actions
- Create
- Create from Template
- Create from Schema
- Delete
- Deploy
- Disable
- Enable
- Expose Service
- Get
- Get Logs
- Get Stats
- Refresh Deploy Token
- Restart
- Update Backup
- Update Basic Auth
- Update Build
- Update Deploy
- Update Domains
- Update Environment
- Update Health Check
- Update Mounts
- Update Ports
- Update Redirects
- Update Resources
- Update Source - Docker Image
- Update Source - Git
- Update Source - GitHub
- Settings Actions
- Change Credentials
- Get GitHub Token
- Get Let's Encrypt Email
- Get Panel Domain
- Get Server IP
- Get Status
- Get Traefik Custom Config
- Prune Docker Builder
- Prune Docker Images
- Refresh Server IP
- Restart Easypanel
- Restart Traefik
- Set Docker Prune Daily
- Set GitHub Token
- Set Let's Encrypt Email
- Set Panel Domain
- Update Traefik Custom Config
- Template Actions
- User Actions
Service → Update Environment
AI-generatedSummary
Update the environment variables for a named Easypanel service in a project. Choose the service type, enter variables as KEY=value pairs with one per line, and the node sends them to the matching service-type API endpoint.
Inputs
- Service Type — Select App (default), MariaDB, MongoDB, MySQL, PostgreSQL, or Redis.
- Project Name (required) — Name of the project containing the service.
- Service Name (required) — Name of the service to update.
- Environment Variables — Environment variables as KEY=value, one per line. Passed as the env string to Easypanel.
Output shape
A single n8n item containing the API response data for each input item.
The node makes a POST request to the selected service type's updateEnv endpoint and unwraps the tRPC response. Errors stop execution unless Continue On Fail is enabled; then the item contains error details.