Skip to main content

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 UpdateEnvironmentService succeeds.

Payload

{
    type: 'environment.updated',
    data: {
        environment: {
            id: string
            name: string
            slug: string
            projectId: string
            updatedAt: string | null
        }
        changes: Array<'name' | 'slug'>
    }
}

Example

{
    "type": "environment.updated",
    "data": {
        "environment": {
            "id": "0192a1b2-c3d4-7000-8000-000000000020",
            "name": "prod",
            "slug": "production",
            "projectId": "0192a1b2-c3d4-7000-8000-000000000010",
            "updatedAt": "2026-05-31T10:50:00.000Z"
        },
        "changes": ["name"]
    }
}