.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-auth-logout - Log out from a GitLab instance. .SH SYNOPSIS \fBglab auth logout [flags]\fP .SH DESCRIPTION Logs out from a GitLab instance. The credentials for the specified instance are removed from the global configuration file (default \fB~/.config/glab-cli/config.yml\fR) and from the operating system's keyring, if a token was stored there. .SH OPTIONS \fB--hostname\fP="" The hostname of the GitLab instance. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # Log out of a specific instance glab auth logout --hostname gitlab.example.com .EE .SH SEE ALSO \fBglab-auth(1)\fP