---
title: "Clear Multiple Tokens Cache"
method: PUT
path: "/internal/cache/tokens"
tags: ["cache"]
---

# Clear Multiple Tokens Cache

`PUT /internal/cache/tokens`

This route is used to clear all cached resources, given a list of tokens found in the
request body. Most of the time, this is used when we need to clear the cache of a whole
subscription: it means we need to clear the cache for all of its tokens.

## Request body

- TokensData
  - `tokens` string[], required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mindee/apis/portal.md) · [All operations](https://skmtc.net/mindee/apis/portal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mindee/portal/revisions/91e100d94c03/schema)
