sites
Clear Environment Cache
Clears the cache for an environment.
post/v0/sites/{site_id}/environments/{env_id}/cache/clear
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idstring required
Site UUID
env_idstring required
Environment ID
Request body
Example request
{
"framework_cache": true
}Response
Example response
{
"active_description": "Creating database backup",
"id": "12345678-1234-1234-1234-123456789012",
"number_of_tasks": 5
}Changes
No recorded changes to this operation across all 2 revisions of this API.