Admin Configuration

Run a cache management action

Changed on

Runs one cache action, the same set the Cache Management screen offers. Clear actions: clear-all, clear-config, clear-cache, clear-compiled, clear-events, clear-routes, clear-views. Build actions: build-all, build-config, build-routes, build-views. Any other value returns 422 with success: false; a command that fails also returns 422 with its output.

post/configuration/cache

Request

Request body

action'clear-all' | 'clear-config' | 'clear-cache' | 'clear-compiled' | 'clear-events' | 'clear-routes' | 'clear-views' | 'build-all' | 'build-config' | 'build-routes' | 'build-views' required

Response

The action ran.

Changes