Clear site cache

View as MarkdownOpen in Claude
Requests a cache clear on the WordPress site through the connector. The operation is queued fire-and-forget: the endpoint answers 200 with a meta-only JSON:API document (`meta.status: "requested"`) as soon as the request is enqueued — it does not confirm the cache was actually cleared, and no connectivity check is performed first. Safe to repeat; there is no request body. Read-only tokens answer 403; sites of other organizations answer 404. The MCP twin of this endpoint is the `sites-cache-clear` tool.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

sitestringRequired

Response

200 - Cache clear requested

jsonapiobjectOptional
metaobjectOptional