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

Sent after UpdateWorkspaceService successfully writes changes. The changes array lists which fields were touched.

Payload

{
    type: 'workspace.updated',
    data: {
        workspace: {
            id: string
            name: string
            slug: string
            icon: string | null
        }
        changes: Array<'name' | 'slug' | 'icon' | 'nameUpdatedAt' | 'iconUpdatedAt'>
    }
}

Example

{
    "type": "workspace.updated",
    "data": {
        "workspace": {
            "id": "0192a1b2-c3d4-7000-8000-000000000001",
            "name": "Acme Inc",
            "slug": "acme",
            "icon": "0192a1b2-c3d4-7000-8000-000000000099"
        },
        "changes": ["name", "icon", "nameUpdatedAt", "iconUpdatedAt"]
    }
}