---
title: "Update an account highlight"
method: PATCH
path: "/accounts/{account_id}/highlights/{highlight_id}"
tags: ["account-highlights"]
---

# Update an account highlight

`PATCH /accounts/{account_id}/highlights/{highlight_id}`

Updates an existing account highlight. Only provided fields are modified.

**Rate limit:** 120 requests per minute

## Path parameters

- `highlight_id` string, required
- `account_id` string, required

## Request body

- UpdateAccountHighlightRequestBody
  - `content_html` string — The updated HTML content for this highlight.
  - `expires_at` string — The updated expires at timestamp (RFC3339).

## Response `200`

- UpdateAccountHighlightResponseBody
  - `data` AccountHighlight
    - `account_id` string — The ID of the account this highlight belongs to.
    - `content_html` string — The HTML content of the highlight.
    - `created_at` string — The timestamp of when the highlight was created.
    - `expires_at` string — The timestamp of when the highlight expires, if set.
    - `id` string — The ID of the account highlight.
    - `updated_at` string — The timestamp of when the highlight was last updated.
  - `request_id` string

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

## Changes

> 23 revisions in range; 1 not diffed.

- **2026-08-28** `fe3adb90ea45` — 1 info
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/accounts/:account_id/highlights/:highlight_id/patch.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/a901c567cd11/schema)
