glab(1)

πŸ“¦ version 1.128.0, in arch rolling

🫢 glab(1) β€” glab-deploy-token-delete 🫢

Hii bestie, welcome to the glab(1) page for glab-deploy-token-delete, aka the little command that deletes a deploy token and does not play around. πŸ’…


✨ NAME ✨

glab-deploy-token-delete β€” delete a deploy token, periodt.


πŸŽ€ SYNOPSIS πŸŽ€

glab deploy-token delete  [flags]

πŸ’– DESCRIPTION πŸ’–

Okay so this command deletes a deploy token of a project or a group, by its ID. That’s the whole vibe. 🫢

The deletion is permanent and takes effect immediately. Anything authenticating with the token stops working. Not me dropping the truth bomb, but yeah β€” it’s gone gone. 😭

Deleting is not the revoke action from the GitLab UI, which the REST API does not expose. A revoked token stays listed and is reported as revoked, while a deleted token is gone from glab deploy-token list entirely. The difference is kind of iconic, ngl. πŸ”₯

Token IDs come from glab deploy-token list. That’s where you get the number, bestie.

πŸ’… OPTIONS πŸ’…

  • -g, --group="" β€” Delete a deploy token of a group instead of a project. Accepts a group ID or full path. Slay, group edition.
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. Very flexible, we love to see it.
  • -y, --yes[=false] β€” Skip the confirmation prompt. When you’re in your no-confirmation main character era.

🌸 OPTIONS INHERITED FROM PARENT COMMANDS 🌸

  • -h, --help[=false] β€” Show help for this command. The classic, the icon, the β€œwhat does this do again” lifesaver.

πŸ¦‹ EXAMPLE πŸ¦‹

# Delete deploy token 42 of the current project, after confirming
glab deploy-token delete 42

# Delete it without a confirmation prompt
glab deploy-token delete 42 --yes

# Delete a deploy token of a specific project
glab deploy-token delete 42 --repo user/my-repo

# Delete a group's deploy token
glab deploy-token delete 42 --group group/sub-group

⭐ SEE ALSO ⭐


Auto generated by spf13/cobra Β· Nov 2026 Β· glab(1) β€” mwah πŸ’‹

πŸ“¦ where this page comes from