glab(1)
π glab-cluster-agent-token-cache-clear π
okay so bestie, welcome to the glab(1) manual page β specifically the section for glab cluster agent token-cache clear, which is literally the icon we need for tidying up cached GitLab Agent tokens π
β¨
πΈ NAME πΈ
glab-cluster-agent-token-cache-clear β it clears cached GitLab Agent tokens. no cap, that's the whole gig. π§Ήβ¨
π¦ SYNOPSIS π¦
glab cluster agent token-cache clear [flags]
π DESCRIPTION π
okay so default vibe: it clears tokens from both the keyring and the filesystem cache, AND it revokes them on the GitLab server. like, it's thorough. if you wanna skip the revoke step, just hit it with --revoke=false and it'll leave the server alone. periodt. π
ngl, this command is giving "spring cleaning but make it GitLab" πΈ
π OPTIONS π
--agent=[]β clear tokens for specific agent IDs only. like if you're like "bestie, only these agents" and not the whole squad. π―--filesystem[=true]β clear tokens from filesystem cache. default istrue, so it's on unless you say otherwise. ποΈ--keyring[=true]β clear tokens from keyring cache. default istrue, so it's on unless you say otherwise. π-R,--repo=""β select another repository using theOWNER/REPOformat. literally just point it at a different repo. ποΈ--revoke[=true]β revoke tokens on GitLab server before clearing cache. default istrue, so it's revoking unless you turn it off. π₯
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
-h,--help[=false]β show help for this command. yes bestie, it's there if you need it. π«Ά
π EXAMPLE π
here's the tea, bestie β three iconic ways to run this:
# 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
π₯ SEE ALSO π₯
also check out glab-cluster-agent-token-cache(1) β it's the parent command and it's giving main character energy too. π
Auto generated by spf13/cobra β no cap, the robots wrote this one β dated Nov 2026, and it's part of the glab(1) manual. mwah π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms