glab(1) glab(1) (NAME) glab-token-rotate - (SYNOPSIS) glab token rotate [flags] (DESCRIPTION) . . (ID) . 00:00 UTC . . (d) (w) (h) . --duration --expires-at . . (OPTIONS) -D, --duration=30d . : (30d) (4w) (24h 168h 720h). : 365d. 00:00 UTC . -E, --expires-at=0001-01-01 YYYY- MM-DD. --duration . -g, --group="" . . --jq="" JSON jq. -F, --output="text" : text json. 'text' 'json' . -R, --repo="" . OWNER/REPO GROUP/NAMESPACE/REPO . URL Git . -U, --user="" . @me . (OPTIONS INHERITED FROM PARENT COMMANDS) -h, --help[=false] . (EXAMPLES) # ( ) glab token rotate my-project-token # glab token rotate --repo user/repo my-project-token --expires-at 2025-08-08 # glab token rotate --group group/sub-group my-group-token --duration 7d # glab token rotate --user @me my-personal-token --duration 2w # ( ) glab token rotate --user johndoe johns-personal-token --duration 90d (SEE ALSO) glab-token(1) Auto generated by spf13/cobra Sep 2026 glab(1)