---
title: "sequence.cancel"
method: POST
path: "/sequence.cancel"
tags: ["Sequence"]
---

# sequence.cancel

`POST /sequence.cancel`

Cancels a running sourcing sequence (campaign) for a candidate.

**Requires the [`sourcingWrite`](authentication#permissions-sequencecancel) permission.**

## Request body

- SequenceCancelRequest
  - `sequenceId` string, uuid, required — The id of the sequence to cancel
  - `reason` 'booked_meeting' — The reason for cancelling the sequence. Defaults to `booked_meeting`.

## Response `200`

Responses from the sequence.cancel endpoint

- union
  - SequenceCancelSuccessResponse
    - `success` true, required
    - `results` SequenceCancelResult, required
      - `sequenceId` string, uuid, required — The id of the sequence that was cancelled
  - ErrorResponse
    - `success` false, required
    - `errors` ErrorDetail[], required
      - `message` string, required
      - `parameter` string

---

[API](https://skmtc.net/ashbyhq/apis/ashby-api.md) · [All operations](https://skmtc.net/ashbyhq/apis/ashby-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ashbyhq/ashby-api/revisions/778b919dc743/schema)
