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 UpdateKeyService succeeds. changes lists which DB fields were updated.

Payload

{
    type: 'key.updated',
    data: {
        key: {
            id: string
            name: string
            active: boolean
        }
        changes: Array<'name' | 'active' | 'enabledAt' | 'disabledAt' | 'scopes' | 'projectIds'>
    }
}

Example

{
    "type": "key.updated",
    "data": {
        "key": {
            "id": "0192a1b2-c3d4-7000-8000-000000000090",
            "name": "CI deploy key",
            "active": false
        },
        "changes": ["active", "disabledAt"]
    }
}