Documentation menu

CLI

Use Octopus docs with AI

octopus release delete

Delete a release

Delete a release in Octopus Deploy

Usage:
  octopus release delete [flags]

Aliases:
  delete, del, rm

Flags:
  -p, --project string        Name or ID of the project to delete releases in
  -v, --version stringArray   Release version to delete, can be specified multiple times


Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

Examples

Octopus Samples instance

Many of the examples we use, reference the samples instance of Octopus Deploy. If you’d like to explore the samples instance, you can log in as a guest.

octopus release delete myProject 2.0
octopus release delete --project myProject --version 2.0
octopus release rm "Other Project" -v 2.0

Learn more