---
title: "Admin Stop Sequence"
method: POST
path: "/api/v1/admin/sequences/{sequence_id}/stop"
tags: ["admin"]
---

# Admin Stop Sequence

`POST /api/v1/admin/sequences/{sequence_id}/stop`

## Request

- Base URL: `https://api.nudgelink.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nudgelink.co/api/v1/admin/sequences/{sequence_id}/stop`
- Auth: HTTP bearer

Force-stop a sequence. Takes ``SELECT ... FOR UPDATE`` to avoid
racing the Celery worker between read and write.

## Path parameters

- `sequence_id` string, uuid, required

## Request body

- StopSequenceRequest
  - `reason` string, required

## Response `200`

Successful Response

- StopSequenceResponse
  - `id` string, uuid, required
  - `status` string, required
  - `stopped_reason` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nudgelink/apis/nudgelink-api.md) · [All operations](https://skmtc.dev/nudgelink/apis/nudgelink-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nudgelink/apis/nudgelink-api/revisions/baa46e6db986?raw)
