Responses

GET /_security/_authenticate
GET /_security/_authenticate
resp = client.security.authenticate()
const response = await client.security.authenticate();
response = client.security.authenticate
$resp = $client->security()->authenticate();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_security/_authenticate"
Response examples (200)
A successful response from `GET /_security/_authenticate`.
{
  "username": "rdeniro",
  "roles": [
    "admin"
  ],
  "full_name": null,
  "email":  null,
  "metadata": { },
  "enabled": true,
  "authentication_realm": {
    "name" : "file",
    "type" : "file"
  },
  "lookup_realm": {
    "name" : "file",
    "type" : "file"
  },
  "authentication_type": "realm"
}