---
title: "Clear website cache"
method: DELETE
path: "/api/agency-hosting/v1/websites/{website_uid}/cache"
tags: ["Agency Hosting: Cache"]
---

# Clear website cache

`DELETE /api/agency-hosting/v1/websites/{website_uid}/cache`

Clears cache for all domains associated with an Agency Plan website, including its preview domain.

This operation clears all cache types for the website.

## Path parameters

- `website_uid` string, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

## Changes

- **2026-08-13** `5a5a54ce5eb4` — 1 info
  - api operation id `agency-hosting_clearAgencyPlanWebsiteCacheV1` removed and replaced with `agency-hosting_clearWebsiteCacheV1`
- **2026-07-20** `c24eb957ee1b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/agency-hosting/v1/websites/:website_uid/cache/delete.md)

---

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