v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
WordPress: Object Cache

Toggle Memcached object cache

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

Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).

patch/api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle

Path parameters

usernamestring required
Example:u123456789
softwarestring required
Example:1232456789

WordPress installation (software) identifier

Request body

enabledboolean required

Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation.

Example request

{
  "enabled": true
}

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}