Skip to main content
Log out from Idyl by revoking the CLI session and removing local credentials. This command:
  1. Revokes the stored refresh token for your identity
  2. Clears all cached access tokens for your identity
  3. Removes contexts that reference this identity

Usage

idyl logout [flags]

Flags

FlagDescription
--allLog out from all realms and identities
--email <string>Email address to log out (defaults to current identity)
--realm <string>Realm to log out from (defaults to current realm)

Inherited flags

FlagDescription
-a <string>, --account-id <string>Account ID to use (overrides context)
-c <string>, --context <string>Use specific context
--homedir <string>Override config directory (default: ~/.idyl)
-n <string>, --namespace <string>Namespace to use
-o <string>, --output <string>Output format (json|yaml)
-p <string>, --profile <string>Override profile
--subnet <string>Override context subnet for this command

Examples

# Log out from current context's identity
idyl logout

# Log out specific identity from a realm
idyl logout --email [email protected] --realm global.idyl.network

# Log out from all realms and identities
idyl logout --all