Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
When it fires
After UpdateVariableService succeeds. The changes object describes what moved without leaking values.
Payload
{
type: 'variable.updated',
data: {
variable: {
id: string
name: string
type: string
isSecret: boolean
environmentId: string
updatedAt: string | null
}
changes: {
nameChanged: boolean
valueChanged: boolean
previousName?: string // only present when nameChanged is true
}
}
}
Example
{
"type": "variable.updated",
"data": {
"variable": {
"id": "0192a1b2-c3d4-7000-8000-000000000030",
"name": "STRIPE_SECRET_KEY",
"type": "string",
"isSecret": true,
"environmentId": "0192a1b2-c3d4-7000-8000-000000000020",
"updatedAt": "2026-05-31T11:15:00.000Z"
},
"changes": {
"nameChanged": true,
"valueChanged": true,
"previousName": "STRIPE_API_KEY"
}
}
}