---
title: "Update Profile"
method: PATCH
path: "/letter-v2/profiles/{profile_id}"
tags: ["letter-v2"]
---

# Update Profile

`PATCH /letter-v2/profiles/{profile_id}`

## Request

- Base URL: `https://api.overfit.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.overfit.de/letter-v2/profiles/{profile_id}`
- Auth: one of:
  - OpenID Connect (`https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration`)
  - API key in header `X-API-Key`

Update a profile. Changing a LaTeX template re-validates it and resets
the `validated` flag until the next successful preview.

## Path parameters

- `profile_id` string, required

## Request body

- LetterProfileUpdate
  - `name` string, nullable
  - `company` ProfileCompany: Sender company profile: identity, offering, branding assets.
    - `sender` SenderBlock, required
      - `name` string, required
      - `position` string
      - `company` string, required
      - `street` string
      - `city` string
      - `email` string
      - `web` string
    - `services` string[]
    - `value_proposition` string
    - `target_synergies` string
    - `assets` object
  - `latex_letter_template` string, nullable
  - `latex_envelope_template` string, nullable

## Response `200`

Successful Response

- LetterProfileSchema
  - `id` string, required
  - `name` string, required
  - `company` ProfileCompany, required: Sender company profile: identity, offering, branding assets.
    - `sender` SenderBlock, required
      - `name` string, required
      - `position` string
      - `company` string, required
      - `street` string
      - `city` string
      - `email` string
      - `web` string
    - `services` string[]
    - `value_proposition` string
    - `target_synergies` string
    - `assets` object
  - `latex_letter_template` string, required
  - `latex_envelope_template` string, required
  - `validated` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/overfit/apis/overfit-insights-revolutionizing-data-retrieval.md) · [All operations](https://skmtc.dev/overfit/apis/overfit-insights-revolutionizing-data-retrieval/llms.txt) · [OpenAPI document](https://skmtc.dev/overfit/apis/overfit-insights-revolutionizing-data-retrieval/revisions/0055f7fe41e5?raw)
