Admin - Metrics

Clear metrics cache

Clears cached metrics data. By default, clears history cache. Use request body parameters to selectively clear specific cache types.

post/api/metrics/clear-cache

Request body

limitinteger

Clear cache for specific history limit (e.g., 15, 30). If not provided, clears default history cache.

clear_statsboolean

Clear stats cache

clear_system_infoboolean

Clear system info cache

clear_service_historyboolean

Clear service history cache

Example request

{
  "limit": 15
}

Response

Cache cleared successfully

messagestring

Example response

{
  "message": "Cache cleared successfully"
}

Changes

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