---
title: "Clear Cache For Cp"
method: POST
path: "/api/admin/cache/clear-cp/{codigo_postal}"
tags: ["copilot_frontend", "admin", "admin-cache"]
---

# Clear Cache For Cp

`POST /api/admin/cache/clear-cp/{codigo_postal}`

Limpia las rutas cacheadas para un código postal específico.

**🔒 Endpoint Protegido:** Requiere autenticación JWT y rol 'admin'

## Path parameters

- `codigo_postal` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
