---
title: "Set one person's personalized line by hand; an empty value undoes the edit. Braces are removed and text past the line's length is cut"
method: PUT
path: "/campaigns/people/{enrollmentId}/personalization"
tags: ["campaigns"]
---

# Set one person's personalized line by hand; an empty value undoes the edit. Braces are removed and text past the line's length is cut

`PUT /campaigns/people/{enrollmentId}/personalization`

## Request

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

Set one person's personalized line by hand; an empty value undoes the edit. Braces are removed and text past the line's length is cut.

## Path parameters

- `enrollmentId` string, required: From dench campaign people.

## Request body

- object
  - `key` string, required: The line's key, as in {{key}}.
  - `value` string, required: The line to send; an empty string undoes the edit.

## Response `200`

Successful response

- object
  - `ok` boolean, required

## 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)
