---
title: "Remove an edge case"
method: DELETE
path: "/v1/customer-flow/{flowId}/edge-case/{edgeCaseId}"
tags: ["Customer Flow Edge Case"]
---

# Remove an edge case

`DELETE /v1/customer-flow/{flowId}/edge-case/{edgeCaseId}`

Soft-deletes a variant. On a scripted flow the path engine re-creates a variant for any path still in the graph, so remove the path through PUT /graph instead if that is what you meant.

## Path parameters

- `flowId` string, uuid, required
- `edgeCaseId` string, uuid, required

## Response `200`

Edge case removed

- object
  - `data` object, required
    - `deleted` boolean, required — Whether the variant was deleted

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2026-08-17** `887b091b3d81` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/customer-flow/:flowId/edge-case/:edgeCaseId/delete.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) · [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roarkhq/roark-analytics-api/revisions/1d61b68e9429/schema)
