Users
Get a user
GET/v1/applications/{app_id}/users/{user_id}
Returns the full user object; there is no fields or expand
filtering yet. user_id must belong to the application's region
(its prefix, e.g. usr_tr_..., names the region) or this returns
404 without calling the region at all.
Yol parametreleri
app_idstringzorunluÖrnek:
app_selleruser_idstringzorunluÖrnek:
usr_tr_8f2c91a7
Yanıtlar
200OKUser
The user
idstringregionstringMore regions will be added; clients must accept unknown values.
Değerler:
EUTRemailstringemail_verifiedbooleanphonestringNot available yet.
namestringcountrystringlabelsLabelsstatusstringDeğerler:
activelockedbannedinvitedcreated_atstring (date-time)last_sign_in_atstring (date-time)sessionsobject[]Not available yet (planned expand=sessions).
mfa_factorsstring[]Not available yet (planned expand=mfa_factors).
sign_in_historyobject[]Not available yet (planned expand=sign_in_history).
metadataobjectNot available yet (planned expand=metadata).
consentsobject[]Not available yet (planned expand=consents).
404Not FoundError
Not found
errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject
503Service UnavailableError
region_unavailable: the user's region cannot answer right now. Retry afterRetry-Afterseconds.errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject