Prerequisite: Please ensure you have read the VISE Overview before proceeding as the API endpoint is based on your VISE url which is dynamic.Where vise-url is mentioned, we are referring to your actual VISE domain, not ‘vise-url’. Explained in the VISE overview.
All requests to the Vecurity VISE API requires Session creation in tandem with your Vecurity API token in order to make use of the API Endpoints. More details can be found the VISE Authentication page.If you require support here, please get in touch with our Live chat or [email protected]
HTTP Endpoint POST
https://{VISE-URL}/api/update_cache_mode
Request Body Parameters
{
"domain_id": "string (required) - Domain ID in MD5 UUID form",
"record_id": "string (required) - Record ID",
"cache_mode": "string (required) - One of [ASSETS, EVERYTHING, NOTHING]"
}
Endpoint Description
Updates the cache mode for a specific record. Available modes:
- ASSETS: Cache only static assets
- EVERYTHING: Cache all content
- NOTHING: Disable caching
Response Example
{
"status": 200,
"message": "Cache mode updated successfully",
"data": {}
}