Actions54
- Application Actions
- Database Actions
- Deployment Actions
- Project Actions
- Server Actions
- Service Actions
- Team Actions
Service → Update Environment Variables (Bulk)
AI-generatedSummary
Update multiple environment variables in bulk for a specified service by providing a JSON array of key-value pairs.
Inputs
- serviceUuid (required) — The UUID of the service to update environment variables for. Can be selected from a list or set dynamically via expression.
- envsJson (required) — A JSON array containing environment variables to update, each as an object with keys: 'key', 'value', and 'is_preview' (boolean). For example: [{"key": "MY_VAR", "value": "my-value", "is_preview": false}].
Output shape
a single JSON response from the Coolify API representing the updated environment variables or update result
The request uses a PATCH HTTP method to '/api/v1/services/{serviceUuid}/envs/bulk' with the JSON parsed array in the request body under 'data'. The response shape depends on the Coolify API and is returned directly. No pagination applies to this operation.