> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/blocklist-entries/openapi.json](/docs/api/blocklist-entries/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Blocklist: Update a blocklist entry's reason

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

One endpoint of [Blocklist](/docs/api/blocklist-entries.md). Authentication, workspaces and errors: [/docs.md](/docs.md).

## Update a blocklist entry's reason

`PATCH /v1/blocklist-entries/{entryId}` - operationId `blocklist-entries.update`

| Permission | Rate limit |
| --- | --- |
| The `workspace_settings` permission | 4,800 requests a minute per API key |

Sets or clears the reason on one blocklist entry. The blocked value does not change.

Send `{ "reason": "..." }`. The `reason` field is required, at most 200 characters, and `null` or
blank clears it.

Errors:

- `400 validation_failed`: the body has no `reason` field, or `reason` is over 200 characters.
- `404 not_found`: no entry of this workspace has the id.
- `409 invalid_state`: the entry is a `rule` entry while blocklist rules are on. The rule sets its
reason, so change the rule's reason instead.

Requires the `workspace_settings` permission.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/blocklist-entries/PATCH/v1/blocklist-entries/%7BentryId%7D)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `entryId` | path | integer (int64) | yes | The entry's id. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `reason` | string | yes | Why the value is blocked, at most 200 characters. Required. `null` or blank clears it. |

### Response 200

`data` is a `BlocklistEntry`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | The entry's id. |
| `type` | string | What the entry blocks: `email` for one address, `domain` for every address at a domain. |
| `value` | string | The blocked email or domain, in lowercase, such as `jane@acme.com` or `acme.com`. |
| `createdAt` | string (date-time) | When the entry was added, in UTC. Null in a bulk create result. |
| `source` | string | Where the entry came from: `manual`, `own_domain`, `customer` or `rule`. A `manual` entry was added by a member, through the API or a CSV file, or by Kenso after an opt-out or a bounce. An `own_domain` entry is one of the workspace's own domains, and it goes away when you remove the domain in Settings > Company. A `customer` entry is the domain of an account marked a customer, and it goes away when the account stops being a customer. A `rule` entry comes from a blocklist rule, and it goes away once no enabled rule matches it. Adding a `customer` or `rule` value yourself makes it `manual`. |
| `reason` | string | Why the value is blocked, at most 200 characters. Omitted when the entry has none. Kenso sets a reason on the entries it adds, such as `Opted out or bounced` or `Customer account`. Own-domain entries have none. |
| `claimed` | boolean | True in a create or bulk create result when a customer account or a blocklist rule already listed the value and the call made that entry `manual`, under the same id. Omitted otherwise. |

### Request

```bash
curl -X PATCH "https://api.ken.so/v1/blocklist-entries/812" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "string"
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 7712,
    "type": "domain",
    "value": "competitor.example.com",
    "createdAt": "2026-09-23T15:02:11Z",
    "source": "manual",
    "reason": "Current customer"
  }
}
```
