---
title: "Invalidate PDF cache sources"
method: POST
path: "/api/integrations/pdfs/admin/invalidate_cache_sources"
---

# Invalidate PDF cache sources

`POST /api/integrations/pdfs/admin/invalidate_cache_sources`

## Request

- Base URL: `https://app.herondata.io`
- URL: `https://app.herondata.io/api/integrations/pdfs/admin/invalidate_cache_sources`
- Auth: API key in header `x-api-key`

Prevents the named PDFs from seeding later same-hash parses.

## Request body

- object
  - `pdf_heron_ids` string[], required

## Response `200`

Cache sources invalidated

- object
  - `not_found` string[], required
  - `updated` string[], required

## Other responses

- `422`: Invalid request body

## Changes

- **2026-11-03** `bd8008e49534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/herondata/apis/heron-data-api/changes/api/integrations/pdfs/admin/invalidate_cache_sources/post.md)

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) - [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/herondata/apis/heron-data-api/revisions/1ec936e17fef?raw)
