.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-label-edit - Edit a label in a project. .SH SYNOPSIS \fBglab label edit [flags]\fP .SH DESCRIPTION Edit an existing label in a project. The \fB--label-id\fR flag is required to identify the label to update. At least one of \fB--new-name\fR or \fB--color\fR must be provided; \fB--description\fR and \fB--priority\fR are optional. .PP By default, the label is edited in the current repository. Use \fB--repo\fR to target another project. .SH OPTIONS \fB-c\fP, \fB--color\fP="" The color of the label given in 6-digit hex notation with leading ‘#’ sign. .PP \fB-d\fP, \fB--description\fP="" Label description. .PP \fB-l\fP, \fB--label-id\fP=0 The label ID we are updating. .PP \fB-n\fP, \fB--new-name\fP="" The new name of the label. .PP \fB-p\fP, \fB--priority\fP=0 Label priority. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .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. .SH EXAMPLE .EX # Rename a label in the current repository glab label edit --label-id 1234 --new-name critical # Change a label's color and description in another project glab label edit --label-id 1234 --color "#FF0000" --description "Top priority" -R owner/repo .EE .SH SEE ALSO \fBglab-label(1)\fP