EasypanelDocs

Update log aggregation settings

Replaces log settings and deploys or removes the log aggregation services.

POST
/updateLogsSettings

Replaces log settings and deploys or removes the log aggregation 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/updateLogsSettings" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "retentionType": "hours",    "retentionValue": 1  }'
null