.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-ci-cancel-job - Cancel CI/CD jobs. .SH SYNOPSIS \fBglab ci cancel job [\&...] [flags]\fP .SH DESCRIPTION Cancels one or more running CI/CD jobs by ID. You can pass multiple job IDs as separate arguments, in a comma-separated list, or in a quoted space-separated list. .PP To preview which jobs would be canceled without making changes, use \fB--dry-run\fR\&. .PP Use \fB--force\fR to cancel jobs that are in a protected environment. .SH OPTIONS \fB--dry-run\fP[=false] Show which jobs would be canceled, without canceling them. .PP \fB-f\fP, \fB--force\fP[=false] Force-cancel the job, even if it runs in a protected environment. .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 # Cancel a single job glab ci cancel job 1504182795 # Cancel multiple jobs, comma-separated glab ci cancel job 1504182795,1504182796 # Cancel multiple jobs, space-separated in quotes glab ci cancel job "1504182795 1504182796" # Preview which jobs would be canceled glab ci cancel job 1504182795,1504182796 --dry-run # Force-cancel a job in a protected environment glab ci cancel job 1504182795 --force .EE .SH SEE ALSO \fBglab-ci-cancel(1)\fP