---
title: "Invalidate Dictionary Cache"
method: POST
path: "/v1/dictionaries/{project_id}/invalidate"
---

# Invalidate Dictionary Cache

`POST /v1/dictionaries/{project_id}/invalidate`

## Request

- Base URL: `https://api.kugelaudio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kugelaudio.com/v1/dictionaries/{project_id}/invalidate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/docs/v1/dictionaries/:project_id/invalidate/post.ts> (a function with typed inputs; its response is checked against the schema)

Invalidate cached dictionary entries for a project.

Internal endpoint — requires master-key authentication. Called by
the web app after dictionary mutations so the TTS backend picks up
changes immediately instead of waiting for the cache TTL to expire.

## Path parameters

- `project_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api.md) - [All operations](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/revisions/711945519e5c?raw)
