Skip to navigation

Clear a website's cache

View as MarkdownOpen in Claude

Asks WordPress to clear the website’s cache. Use it after changes that visitors do not see yet. The request is queued and answered at once: it does not confirm that the cache was cleared, and it does not check the connection first. Repeating it is safe. There is no request body.

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