Delete a channel in Octopus Deploy
Text
Usage:
octopus channel delete {<name> | <id>} [flags]
Aliases:
delete, del, rm, remove
Flags:
-y, --confirm Don't ask for confirmation before deleting the channel.
-p, --project string Name or ID of the project the channel belongs to
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 operationsExamples
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.
Bash
octopus channel delete "Hotfix" --project myProject
octopus channel rm Channels-123 --project myProject -y