Ploi API
Ploi API

Ignore insight

Ignores the insight

POST api/servers/{server}/insights/{id}/ignore

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/insights/{id}/ignore" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "status": "ignored",
        "description": "Your **supervisor** service is running, but you do not seem to use it. You can save resources by stopping this service, you can always start it when you need it.",
        "log_file": "/var/log/supervisor/supervisor.log",
        "priority": "medium",
        "meta": null,
        "is_fixable": true,
        "processed_at": "2021-11-09 13:06:45",
        "created_at": "2021-11-09 12:50:40"
    }
}