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 DeleteEnvironmentService succeeds. The environment’s variables and versions cascade-soft-delete; they do not emit their own *.deleted events for the cascade.

Payload

{
    type: 'environment.deleted',
    data: {
        environment: {
            id: string
            name: string
            slug: string
            projectId: string
        }
    }
}

Example

{
    "type": "environment.deleted",
    "data": {
        "environment": {
            "id": "0192a1b2-c3d4-7000-8000-000000000020",
            "name": "production",
            "slug": "production",
            "projectId": "0192a1b2-c3d4-7000-8000-000000000010"
        }
    }
}