Gets list privileges
Responses
-
200 application/json; Elastic-Api-Version=2023-10-31
Successful response
-
400 application/json; Elastic-Api-Version=2023-10-31
Invalid input data response
-
401 application/json; Elastic-Api-Version=2023-10-31
Unsuccessful authentication response
-
403 application/json; Elastic-Api-Version=2023-10-31
Not enough privileges response
-
500 application/json; Elastic-Api-Version=2023-10-31
Internal server error response
GET /api/lists/privileges
curl \
-X GET https://localhost:5601/api/lists/privileges
Response examples (200)
{
"is_authenticated": true,
"listItems": {
"application": {
"additionalProperty1": true,
"additionalProperty2": true
},
"cluster": {
"additionalProperty1": true,
"additionalProperty2": true
},
"has_all_requested": true,
"index": {
"additionalProperty1": {
"additionalProperty1": true,
"additionalProperty2": true
},
"additionalProperty2": {
"additionalProperty1": true,
"additionalProperty2": true
}
},
"username": "string"
},
"lists": {
"application": {
"additionalProperty1": true,
"additionalProperty2": true
},
"cluster": {
"additionalProperty1": true,
"additionalProperty2": true
},
"has_all_requested": true,
"index": {
"additionalProperty1": {
"additionalProperty1": true,
"additionalProperty2": true
},
"additionalProperty2": {
"additionalProperty1": true,
"additionalProperty2": true
}
},
"username": "string"
}
}
Response examples (400)
Security_lists_api_platformerrorresponse (generated)
{
"error": "string",
"message": "string",
"statusCode": 42
}
{
"message": "string",
"status_code": 42
}
Response examples (401)
{
"error": "string",
"message": "string",
"statusCode": 42
}
Response examples (403)
{
"error": "string",
"message": "string",
"statusCode": 42
}
Response examples (500)
{
"message": "string",
"status_code": 42
}