Delete insight

Deletes an insight from your server.


DELETE/api/servers/{server}/insights/{id}

Delete insight

This endpoint allows you to permanently delete a specific insight from your server.

Request

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

Response

{
  "data": [],
  "links": {
    "first": "https://ploi.io/api/servers/1/insights/1?page=1",
    "last": "https://ploi.io/api/servers/1/insights/1?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": null,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "«",
        "active": false
      },
      {
        "url": "https://ploi.io/api/servers/1/insights/1?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "»",
        "active": false
      }
    ],
    "path": "https://ploi.io/api/servers/1/insights/1",
    "per_page": 15,
    "to": null,
    "total": 0
  }
}