EasypanelDocs

Update metrics settings

Replaces metrics settings and deploys or removes the monitoring services.

POST
/updateMetricsSettings

Replaces metrics settings and deploys or removes the monitoring services.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/updateMetricsSettings" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "retentionType": "days",    "retentionValue": 1,    "scrapeInterval": 0  }'
null