glab(1)
π«Ά 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 eitherOWNER/REPOorGROUP/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 β
- glab-deploy-token(1) β the related page, go check it out bestie. π
Auto generated by spf13/cobra Β· Nov 2026 Β· glab(1) β 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