GetUserByID
User by ID
Deprecated: use user service v2 ListUsers with InUserIDQuery instead.
Returns the full user object (human or machine) including the profile, email, etc.
curl -X GET "https://loading/users/string"{
"user": {
"id": "string",
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"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": "1s"
}
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?