Get users

  • GET /_security/user/{username}
  • GET /_security/user
Auth

Requires

Cluster
read_security
privileges
Path 1 parameter Query 1 parameter Responses 1 response

Get information about users in the native realm and built-in users.

Path parameters

username union string | string[] optional

An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.

Leave it out to use /_security/user.

Query parameters

with_profile_uid boolean · default: false

Determines whether to retrieve the user profile UID, if it exists, for the users.

Responses

application/json