glab(1) glab(1)

glab-cluster-agent-token-cache-clear - Clear cached GitLab Agent tokens.

glab cluster agent token-cache clear [flags]

By default, clears tokens from both keyring and filesystem cache and revokes them on the GitLab server. Use --revoke=false to skip revocation.

--agent=[] Clear tokens for specific agent IDs only.

--filesystem[=true] Clear tokens from filesystem cache.

--keyring[=true] Clear tokens from keyring cache.

-R, --repo="" Select another repository using the OWNER/REPO format.

--revoke[=true] Revoke tokens on GitLab server before clearing cache.

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

# 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

glab-cluster-agent-token-cache(1)

Jun 2026 Auto generated by spf13/cobra