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 either OWNER/REPO or GROUP/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