> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# roark customer-flow edge-case promote

> Promote an edge case to the happy path

Makes this edge case the flow's happy path, and the outgoing happy path an edge case. Its persona and environment are baked into it first, so edge cases that were inheriting keep the configuration they had.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark customer-flow edge-case promote <flow-id> <edge-case-id> [options]
```

> [!NOTE]
>
> Calls `POST /v1/customer-flow/{flowId}/edge-case/{edgeCaseId}/promote`

## Arguments

**flow-id** `string` *required*

The flow-id.

**edge-case-id** `string` *required*

The edge-case-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark customer-flow edge-case promote <flow-id> <edge-case-id>
```

Every command also takes the [global options](/cli-reference/overview.md#global-options) and sets one
of the [exit codes](/cli-reference/overview.md#exit-codes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.