Responses
-
200 application/json
Successful response
-
400 application/json
Invalid input data response
-
401 application/json
Unsuccessful authentication response
-
403 application/json
Not enough privileges response
-
404 application/json
List data stream not found response
-
500 application/json
Internal server error response
DELETE
/api/lists/index
curl \
--request DELETE 'https://localhost:5601/api/lists/index' \
--header "Authorization: $API_KEY"
Response examples (401)
{
"error": "Unauthorized",
"message": "[security_exception\\n\\tRoot causes:\\n\\t\\tsecurity_exception: unable to authenticate user [elastic] for REST request [/_security/_authenticate]]: unable to authenticate user [elastic] for REST request [/_security/_authenticate]",
"statusCode": 401
}
Response examples (500)
{
"message": "Internal Server Error",
"status_code": 500
}