glab-auth-logout - Man Page

Log out from a GitLab instance.

Synopsis

glab auth logout [flags]

Description

Logs out from a GitLab instance. The credentials for the specified instance are removed from the global configuration file (default ~/.config/glab-cli/config.yml) and from the operating system's keyring, if a token was stored there.

Options

--hostname="" The hostname of the GitLab instance.

Options Inherited from Parent Commands

-h, --help[=false] Show help for this command.

Example

# Log out of a specific instance
glab auth logout --hostname gitlab.example.com

See Also

glab-auth(1)

Referenced By

glab-auth(1).

Jun 2026 Auto generated by spf13/cobra