---
title: "Clear Redis For Network"
method: DELETE
path: "/api/v1/cache/redis/{network_id}"
tags: ["cache"]
---

# Clear Redis For Network

`DELETE /api/v1/cache/redis/{network_id}`

Clear Redis cache for a specific network

## Path parameters

- `network_id` string, required

## Response `200`

Successful Response

- ClearCacheResponse
  - `message` string, required
  - `deleted_keys` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pypsa/apis/pypsa-app.md) · [All operations](https://skmtc.dev/pypsa/apis/pypsa-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pypsa/pypsa-app/revisions/a9fc864817c3/schema)
