Cache

Toggle object cache for a website

post/v1/hosting/websites/{website_id}/object-cache/toggle

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

action'enable' | 'disable' required

Action to perform on object cache

Example request

{
  "action": "enable"
}

Response

Object cache setting updated successfully

status'ok' | 'error'

Example response

{
  "status": "ok"
}

Changes

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