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

Two paths:
  • Dashboard revoke via RevokeCliTokenAction — admin or owner explicitly revokes
  • envless logout — the CLI revokes its own token; payload includes reason: 'logout'

Payload

{
    type: 'cli_token.revoked',
    data: {
        cliToken: {
            id: string
        }
        reason?: 'logout'  // present only on self-revoke from CLI logout
    }
}

Example — dashboard revoke

{
    "type": "cli_token.revoked",
    "data": {
        "cliToken": {
            "id": "0192a1b2-c3d4-7000-8000-0000000000a0"
        }
    }
}

Example — CLI logout

{
    "type": "cli_token.revoked",
    "data": {
        "cliToken": {
            "id": "0192a1b2-c3d4-7000-8000-0000000000a0"
        },
        "reason": "logout"
    }
}