Get users
Get information about users in the native realm and built-in users.
Path parameters
-
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.
Query parameters
-
with_profile_uid boolean
If true will return the User Profile ID for a user, if any.
GET /_security/user/{username}
curl \
-X GET http://api.example.com/_security/user/{username}
Response examples (200)
{
"additionalProperty1": {
"email": "string",
"full_name": "string",
"metadata": {
"additionalProperty1": {},
"additionalProperty2": {}
},
"roles": [
"string"
],
"username": "string",
"enabled": true,
"profile_uid": "string"
},
"additionalProperty2": {
"email": "string",
"full_name": "string",
"metadata": {
"additionalProperty1": {},
"additionalProperty2": {}
},
"roles": [
"string"
],
"username": "string",
"enabled": true,
"profile_uid": "string"
}
}