Variable Sets API
Group related environment variables and reuse them across applications.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /{envId}/variableSet | Create variable set |
| GET | /{envId}/variableSet/{id} | Get variable set |
| GET | /{envId}/variableSet | List variable sets |
| PUT | /{envId}/variableSet/{id} | Update variable set |
| DELETE | /{envId}/variableSet/{id} | Delete variable set |
Example
# Create variable set
curl -X POST "https://api.thevenin.cloud/api/v1/{envId}/variableSet" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "database-config",
"variables": {
"DATABASE_HOST": "postgres.example.com",
"DATABASE_PORT": "5432"
}
}'