﻿# octopus release progression prevent

Prevents a release from progression to the next phase in Octopus Deploy

```text
Usage:
  octopus release progression prevent [flags]

Aliases:
  prevent, prevent-releaseprogression

Flags:
  -p, --project string   Name or ID of the project.
  -v, --version string   Release version/number.
  -r, --reason string    Reason to prevent this release from progressing to the next phase.

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

:::div{.success}
**Octopus Samples instance**

Many of the examples we use, reference the [samples instance](https://samples.octopus.app/app#/users/sign-in) of Octopus Deploy. If you'd like to explore the samples instance, you can log in as a guest.
:::

```bash
octopus release progression prevent --project MyProject --version 1.2.3 --reason "It's broken"
octopus release progression prevent -p MyProject -v 1.2.3 -r "It's broken"
octopus release progression prevent -p MyProject -v 1.2.3 -r "It's broken" --no-prompt

```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
