glab(1)
π
glab-ci-delete β like, the glab(1) manual page but make it make sense
okay bestie, welcome to the glab(1) manual β specifically the glab-ci-delete girlie. she deletes CI/CD pipelines. that's her whole thing. no cap. π
β¨ NAME β¨
glab-ci-delete β delete CI/CD pipelines. yes, delete. gone. bye. π
πΈ SYNOPSIS πΈ
glab ci delete [flags]
π¦ DESCRIPTION π¦
so here's the vibe: you can delete by ID, or you can filter by status, source, or age. pick your fighter. π
and listen β use --dry-run to preview the pipelines that would be deleted before you go full send. it's giving look-before-you-leap, and honestly? iconic. π₯
β OPTIONS β
--dry-run[=false]β simulate the whole process, but do not delete anything. it's pretend time, bestie. π«Ά--older-than=0sβ filter pipelines older than the given duration. valid units:h,m,s,ms,us,ns. β³--page=0β page number. for when there's, like, a lot of them.--paginate[=false]β make additional HTTP requests to fetch all pages of pipelines. respects--per-page. it keeps going and going, main character energy. π--per-page=0β number of items to list per page. π--source=""β filter pipelines by source. the full menu:api,chat,external,external_pull_request_event,merge_request_event,ondemand_dast_scan,ondemand_dast_validation,parent_pipeline,pipeline,push,schedule,security_orchestration_policy,trigger,web,webide. yes, all of them, i didn't skip a single one π-s,--status=""β delete pipelines by status:running,pending,success,failed,canceled,skipped,created,manual. π¦
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the hand-me-downs, and they ate, ngl:
-h,--help[=false]β show help for this command. when in doubt, ask for help. we love a queen who reads the docs. π-R,--repo=""β select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. so flexible. so versatile. periodt. β¨
π EXAMPLE π
# Delete a pipeline by ID
glab ci delete 34
# Delete multiple pipelines by ID
glab ci delete 12,34,2
# Delete all pipelines triggered through the API
glab ci delete --source=api
# Delete all failed pipelines
glab ci delete --status=failed
# Delete pipelines older than 24 hours
glab ci delete --older-than 24h
# Delete failed pipelines older than 24 hours
glab ci delete --older-than 24h --status=failed
look at her go. 12,34,2?? comma-separated chaos and i'm obsessed. π
π§ SEE ALSO π§
glab-ci(1)β the rest of the family, iykyk π«
bestie reminder: those delete commands are for real deleting. do the --dry-run vibe check first, okay? π
and that's the page!! made with cobra energy β Auto generated by spf13/cobra, dated Nov 2026, living rent-free in the glab(1) manual. 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