Site Editing — OCF

Clear the page cache

Clears page and object caches. OCF state writes already clear cache automatically; use this after workflows that also modify native WordPress records or media.

post/wp-json/ocf/v1/cache/clear

Request

  • Base URL: https://your-site.com
  • URL: https://your-site.com/wp-json/ocf/v1/cache/clear
  • Auth: HTTP basic

Request body

reasonstring

Response

Cache cleared

okboolean
clearedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.