Cache endpoints (Admin API)
1 FeatherPanel Admin API endpoint from admin/cache.php: methods, paths, auth, permissions, rate limits, parameters and responses.
Last synced from FeatherPanel 15b94e9 on .
On this page
Defined in backend/app/routes/admin/cache.php. Authentication used here: Admin. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.
Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.
Endpoints
POST/api/admin/dashboard/cache/clear
Clear system cache Clears all cached data in the system, including redis and file-based cache.
Response data field | Type | Description |
|---|---|---|
success | boolean | |
message | string |
curl -X POST "$PANEL_URL/api/admin/dashboard/cache/clear" \
-H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
-H "Accept: application/json"Responses: 200 Cache cleared successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions · 500 Internal server error - Failed to clear cache