---
title: "Clear Cache"
method: POST
path: "/v2/cache/clear"
tags: ["Cache Internal"]
---

# Clear Cache

`POST /v2/cache/clear`

Drop the selected power-api cache(s). Safe at any time: callers
re-populate the cache on their next read.

## Request body

- ClearCacheRequest — Which power-api cache(s) to flush. Defaults to ["all"] so a bare ``POST /clear`` with no body behaves exactly as it did before this endpoint accepted a body. "all" always means "clear everything" and short-circuits any other names present in the same request -- it isn't additive with specific buckets.
  - `caches` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-api-documentation.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-api-documentation/revisions/bd33ea42994c/schema)
