Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Get User by login name (globally)

Deprecated: use user service v2 ListUsers with LoginNameQuery instead.

Get a user by login name searched over all organizations. The request only returns data if the login name matches exactly.

GET
/management/v1/global/users/_by_login_name

Query Parameters

loginName?login_name

Response Body

Success

application/json
  1. response
user?|
Example Request
curl -X GET 'https://example.com/management/v1/global/users/_by_login_name'
Example Response200
{  "user": {    "id": "string",    "details": {      "sequence": 0,      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "resourceOwner": "string"    },    "state": "USER_STATE_UNSPECIFIED",    "userName": "string",    "loginNames": [      "string"    ],    "preferredLoginName": "string",    "human": {      "profile": {        "firstName": "string",        "lastName": "string",        "nickName": "string",        "displayName": "string",        "preferredLanguage": "string",        "gender": "GENDER_UNSPECIFIED",        "avatarUrl": "string"      },      "email": {        "email": "string",        "isEmailVerified": true      },      "phone": {        "phone": "string",        "isPhoneVerified": true      },      "passwordChanged": "2023-01-15T01:30:15.01Z"    }  }}

Was this page helpful?