---
title: "Turn off a campaign's personalized lines and cancel the ones not yet written. Refused while a step still uses one of the {{keys}}"
method: DELETE
path: "/campaigns/{sequenceId}/personalization"
tags: ["campaigns"]
---

# Turn off a campaign's personalized lines and cancel the ones not yet written. Refused while a step still uses one of the {{keys}}

`DELETE /campaigns/{sequenceId}/personalization`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/campaigns/{sequenceId}/personalization`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Turn off a campaign's personalized lines and cancel the ones not yet written. Refused while a step still uses one of the {{keys}}.

## Path parameters

- `sequenceId` string, required

## Response `200`

Successful response

- object
  - `version` number, required
  - `eligible` number, required: People who would get a line.
  - `estimatedCents` number, required: About 3 cents a person.
  - `needsConfirm` boolean, required: True when nothing was written: confirm with campaigns.personalization.write and confirmed: true.
  - `queued` number, required: People whose lines are being written now.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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