.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-cluster-agent-token-cache-clear - Clear cached GitLab Agent tokens. .SH SYNOPSIS \fBglab cluster agent token-cache clear [flags]\fP .SH DESCRIPTION By default, clears tokens from both keyring and filesystem cache and revokes them on the GitLab server. Use \fB--revoke=false\fR to skip revocation. .SH OPTIONS \fB--agent\fP=[] Clear tokens for specific agent IDs only. .PP \fB--filesystem\fP[=true] Clear tokens from filesystem cache. .PP \fB--keyring\fP[=true] Clear tokens from keyring cache. .PP \fB-R\fP, \fB--repo\fP="" Select another repository using the OWNER/REPO format. .PP \fB--revoke\fP[=true] Revoke tokens on GitLab server before clearing cache. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # Clear all cached agent tokens glab cluster agent token-cache clear # Clear tokens without revoking them on GitLab glab cluster agent token-cache clear --revoke=false # Clear tokens for a specific agent glab cluster agent token-cache clear --agent 123 .EE .SH SEE ALSO \fBglab-cluster-agent-token-cache(1)\fP