Skip to content

cub release withdraw

cub release withdraw

Withdraw a release

Synopsis

Withdraw a release, identified by its globally-unique release ID.

Withdrawal takes the release out of service: it is no longer published for download, but the release itself is retained. Use cub release delete to remove it.

The release is located by its ID regardless of which Space it lives in, so --space is not required (a Release lives in its bundled Units' Space, which need not be the caller's default).

If any Unit in the release's bundle has an outstanding DestroyGate, the withdrawal is blocked until the gate clears.

Examples:

  cub release withdraw 61f26b06-3c34-4363-8b9d-7d0a7c2b5f1c
cub release withdraw <release-id> [flags]

Options

  -h, --help            help for withdraw
  -o, --output string   Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --quiet           No default output.
      --verbose         Detailed output, additive with default output

Options inherited from parent commands

      --component string   the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
      --context string     The context to use for this command
      --debug              Debug output
      --space string       space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>
      --variant string     variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined

SEE ALSO