multipart/form-data

Body

  • file string(binary) Required

    The CSV file to upload.

Responses

  • 200 application/json

    Bulk upload successful

    Hide response attributes Show response attributes object
  • File too large

POST /api/entity_analytics/monitoring/users/_csv
curl \
 --request POST 'http://localhost:5601/api/entity_analytics/monitoring/users/_csv' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "file=@file"
Response examples (200)
{
  "stats": {
    "total": 2,
    "failed": 1,
    "successful": 1
  },
  "errors": [
    {
      "index": 1,
      "message": "Invalid monitored field",
      "username": "john.doe"
    }
  ]
}