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

Emitted before the soft-delete write so the event row is created against a still-valid workspace. Sent only when the owner deletes a workspace (the API doesn’t expose delete, this is dashboard-only).
Workspaces are soft-deleted: rows remain in the database with deleted = true. Existing webhook endpoints are also disabled and will not receive any further events.

Payload

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

Example

{
    "type": "workspace.deleted",
    "data": {
        "workspace": {
            "id": "0192a1b2-c3d4-7000-8000-000000000001",
            "name": "Acme",
            "slug": "acme"
        }
    }
}