Skip to main content

Variable Sets API

Group related environment variables and reuse them across applications.

Endpoints

MethodEndpointDescription
POST/{envId}/variableSetCreate variable set
GET/{envId}/variableSet/{id}Get variable set
GET/{envId}/variableSetList 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"
}
}'