Hanzo
OpenapiIam

Returns one person in your organization, addressed by their username or by…

Returns one person in your organization, addressed by their username or by their email address.

GET /v1/iam/users/get

Addresshttps://api.hanzo.ai/v1/iam/users/get
MethodGET
Operationget_iam_users_get
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one person in your organization, addressed by their username or by their email address. Passwords, API secrets and MFA material are stripped from the response.

An address that names two accounts names none: the read refuses rather than picking one, and says so instead of reporting "no such user". Handing back an arbitrary one of two rows is how somebody gets added to a team under a colleague's identity.

Request

3 fields.

FieldInTypeRequiredDescription
ownerquerystringyes
namequerystring
emailquerystring

Response

StatusBodyMeaning
200iam.Userok

200 body — 257 fields.

FieldInTypeAlwaysDescription
accessKeybodystringAPI credentials. AccessSecret / AccessSecretHash / the OAuth tokens are bearer material.
accessSecretbodystring
accessSecretHashbodystring
accessTokenbodystring
addressbodystring[]
addressesbodyiam.Address[]
addresses[].citybodystring
addresses[].line1bodystring
addresses[].line2bodystring
addresses[].regionbodystring
addresses[].statebodystring
addresses[].tagbodystring
addresses[].zipCodebodystring
adfsbodystring
affiliationbodystring
alipaybodystring
amazonbodystring
applebodystring
applicationScopesbodyiam.ConsentRecord[]
applicationScopes[].applicationbodystring
applicationScopes[].grantedScopesbodystring[]
auth0bodystring
avatarbodystring
avatarTypebodystring
azureadbodystring
azureadb2cbodystring
baidubodystring
balancebodynumberBalance mirrors v1 for lossless migration but is authoritative in Commerce (billing.hanzo.ai), not here — do not write it from IAM.
balanceCreditbodynumber
balanceCurrencybodystring
battlenetbodystring
bilibilibodystring
biobodystring
birthdaybodystring
bitbucketbodystring
boxbodystring
cartbodyiam.CartItem[]
cart[].displayNamebodystring
cart[].namebodystring
cart[].ownerbodystring
cart[].pricebodynumber
cart[].quantitybodyinteger
cloudfoundrybodystring
countryCodebodystring
createdAtbodystring (date-time)
createdIpbodystringSign-in provenance.
createdTimebodystring
currencybodystring
custombodystring
custom2bodystring
custom3bodystring
custom4bodystring
custom5bodystring
custom6bodystring
custom7bodystring
custom8bodystring
custom9bodystring
custom10bodystring
dailymotionbodystring
deezerbodystring
deletedbodyboolean
deletedTimebodystring
digitaloceanbodystring
dingtalkbodystring
discordbodystring
displayNamebodystringProfile.
douyinbodystring
dropboxbodystring
educationbodystring
emailbodystring
emailVerifiedbodyboolean
eveonlinebodystring
externalIdbodystring
faceIdsbodyiam.FaceId[]
faceIds[].faceIdDatabodynumber[]
faceIds[].imageUrlbodystring
faceIds[].namebodystring
facebookbodystring
firstNamebodystring
fitbitbodystring
genderbodystring
giteabodystring
giteebodystring
githubbodystringLinked federated-identity subjects, one column per connector (v1 parity).
gitlabbodystring
googlebodystring
groupsbodystring[]
hashbodystring
herokubodystring
homepagebodystring
iambodystring
idbodystringId is the user's STABLE OPAQUE identifier — the value the OIDC sub claim carries. It is the v1 the legacy surface per-row UUID (e.g.
idCardbodystring
idCardTypebodystring
influxcloudbodystring
infoflowbodystring
instagrambodystring
intercombodystring
invitationbodystring
invitationCodebodystring
ipWhitelistbodystring
isAdminbodyboolean
isDefaultAvatarbodybooleanState flags.
isDeletedbodyboolean
isForbiddenbodyboolean
isOnlinebodyboolean
isVerifiedbodyboolean
kakaobodystring
karmabodyinteger
kwaibodystring
languagebodystring
larkbodystring
lastChangePasswordTimebodystring
lastNamebodystring
lastSigninIpbodystring
lastSigninTimebodystring
lastSigninWrongTimebodystring
lastfmbodystring
ldapbodystring
linebodystring
linkedinbodystring
locationbodystring
mailrubodystring
managedAccountsbodyiam.ManagedAccount[]
managedAccounts[].applicationbodystring
managedAccounts[].signinUrlbodystring
managedAccounts[].usernamebodystring
meetupbodystring
mfaAccountsbodyiam.MfaAccount[]
mfaAccounts[].accountNamebodystring
mfaAccounts[].issuerbodystring
mfaAccounts[].originbodystring
mfaEmailEnabledbodyboolean
mfaItemsbodyiam.MfaItem[]
mfaItems[].namebodystring
mfaItems[].rulebodystring
mfaPhoneEnabledbodyboolean
mfaPushEnabledbodyboolean
mfaPushProviderbodystring
mfaPushReceiverbodystring
mfaRadiusEnabledbodyboolean
mfaRadiusProviderbodystring
mfaRadiusUsernamebodystring
mfaRememberDeadlinebodystring
mfaRememberDigestbodystringMfaRememberDigest is the digest of the token held by the ONE browser the deadline above applies to.
microsoftonlinebodystring
multiFactorAuthsbodyiam.MfaProps[]
multiFactorAuths[].countryCodebodystring
multiFactorAuths[].enabledbodyboolean
multiFactorAuths[].isPreferredbodyboolean
multiFactorAuths[].mfaRememberInHoursbodyinteger
multiFactorAuths[].mfaTypebodystring
multiFactorAuths[].urlbodystring
namebodystring
naverbodystring
needUpdatePasswordbodyboolean
nextcloudbodystring
oktabodystring
onedrivebodystring
originalRefreshTokenbodystring
originalTokenbodystring
ourabodystring
ownerbodystringIdentity / tenancy.
passwordHashbodystringCredential material. PasswordHash is a one-way bcrypt digest and is verify-only.
passwordSaltbodystring
passwordTypebodystring
patreonbodystring
paypalbodystring
permanentAvatarbodystring
permissionsbodyiam.Permission[]
permissions[].actionsbodystring[]
permissions[].adapterbodystring
permissions[].approveTimebodystring
permissions[].approverbodystring
permissions[].createdAtbodystring (date-time)
permissions[].createdTimebodystringDescriptive metadata.
permissions[].deletedbodyboolean
permissions[].descriptionbodystring
permissions[].displayNamebodystring
permissions[].domainsbodystring[]
permissions[].effectbodystring
permissions[].groupsbodystring[]
permissions[].idbodystring
permissions[].isEnabledbodyboolean
permissions[].modelbodystringAuthorization model, targets, and decision.
permissions[].namebodystring
permissions[].ownerbodystringIdentity — the (owner, name) natural key.
permissions[].resourceTypebodystring
permissions[].resourcesbodystring[]
permissions[].rolesbodystring[]
permissions[].statebodystring
permissions[].submitterbodystringSubmission / approval workflow.
permissions[].updatedAtbodystring (date-time)
permissions[].usersbodystring[]Subjects the grant is evaluated for.
phonebodystring
preHashbodystring
preferredMfaTypebodystring
propertiesbodyobject
properties.*bodystring
qqbodystring
rankingbodyinteger
realNamebodystring
recoveryCodesbodystring[]
regionbodystring
registerSourcebodystring
registerTypebodystring
rolesbodyiam.Role[]Authorization attachments.
roles[].createdAtbodystring (date-time)
roles[].createdTimebodystring
roles[].deletedbodyboolean
roles[].descriptionbodystring
roles[].displayNamebodystring
roles[].domainsbodystring[]
roles[].groupsbodystring[]
roles[].idbodystring
roles[].isEnabledbodyboolean
roles[].namebodystring
roles[].ownerbodystring
roles[].rolesbodystring[]
roles[].updatedAtbodystring (date-time)
roles[].usersbodystring[]
salesforcebodystring
scorebodyinteger
shopifybodystring
signinWrongTimesbodyinteger
signupApplicationbodystring
slackbodystring
soundcloudbodystring
spotifybodystring
steambodystring
stravabodystring
stripebodystring
tagbodystring
telegrambodystring
tiktokbodystring
titlebodystring
totpSecretbodystring
tumblrbodystring
twitchbodystring
twitterbodystring
typebodystring
typetalkbodystring
uberbodystring
updatedAtbodystring (date-time)
updatedTimebodystring
verificationCodebodystring
vkbodystring
webauthnCredentialsbodyany[]Multi-factor authentication. TotpSecret and RecoveryCodes are secret verify-only material — the handler strips them from every response.
wechatbodystring
wecombodystring
weibobodystring
wepaybodystring
xerobodystring
yahoobodystring
yammerbodystring
yandexbodystring
zoombodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page