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