---
title: "Cancel Sequence Audience Enrollment"
method: POST
path: "/api/sequences/{sequence_id}/audience/enrollment/cancel"
tags: ["sequences"]
---

# Cancel Sequence Audience Enrollment

`POST /api/sequences/{sequence_id}/audience/enrollment/cancel`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/sequences/{sequence_id}/audience/enrollment/cancel`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

Cancel the in-flight audience enrollment workflow for this sequence.

Best-effort:
  1. Ask Temporal to cancel the workflow (cooperative — propagates
     to the activity on its next heartbeat).
  2. Append a terminal cancelled event to workflow_progress so the
     SSE stream closes immediately and the UI stops looking stuck.

Returns ``{ ok, cancelled }``. ``cancelled=False`` when there was
nothing in-flight to cancel.

## Path parameters

- `sequence_id` string, required

## Response `200`

Successful Response

- SequenceAudienceEnrollmentCancelResponse: Receipt for a protective audience-enrollment cancellation request.
  - `cancelled` boolean, required: True only when an active workflow was found and terminalized.
  - `ok` boolean, required: True when the cancellation control completed without a Bridge error.
  - `workflow_run_id` string, nullable: Cancelled durable workflow run id; absent when no active run existed.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
