| glab(1) | glab(1) |
NAME
glab-deploy-token-delete - Delete a deploy token.
SYNOPSIS
glab deploy-token delete [flags]
DESCRIPTION
Delete a deploy token of a project or a group, by its ID.
The deletion is permanent and takes effect immediately. Anything authenticating with the token stops working.
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.
Token IDs come from glab deploy-token list.
OPTIONS
-g, --group="" Delete a deploy token of a group instead of a project. Accepts a group ID or full path.
-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.
-y, --yes[=false] Skip the confirmation prompt.
OPTIONS INHERITED FROM PARENT COMMANDS
-h, --help[=false] Show help for this command.
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
| Nov 2026 | Auto generated by spf13/cobra |