# purge_litespeed_cache

> Purge the LiteSpeed page cache for a domain through the site's own LiteSpeed Cache plugin.

- Tier: W
- Required scope: write:hosting
- Annotations: idempotentHint
- Docs: https://api.inleed.com/tools/purge-litespeed-cache

## Description

Purge the LiteSpeed page cache for a domain through the site's own LiteSpeed Cache plugin. Defaults to the resolved account's own domain; pass `domain` for a specific one. To check the cache state first use `get_litespeed_cache_status`. This clears the cache only — it does not change any cache settings or edit files.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
- `domain` — string. The domain whose cache to purge. Omit to use the resolved account's own domain.

## Example call

```json
{
  "name": "purge_litespeed_cache",
  "arguments": {
    "input": "example.se"
  }
}
```

