> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/wordpress/object-cache/toggle-memcached-object-cache.md).

# Toggle Memcached object cache

Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the enabled flag.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle" method="patch" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
