doc-exports/docs/iam/api-ref/iam_08_0004.html
Wei, Hongmin c7cf8ac24f IAM API 0711 Version
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2024-07-11 11:57:45 +00:00

311 lines
23 KiB
HTML

<a name="iam_08_0004"></a><a name="iam_08_0004"></a>
<h1 class="topictitle1">Querying User Details (Recommended)</h1>
<div id="body1597737539339"><div class="section" id="iam_08_0004__en-us_topic_0221482423_section1691123718235"><h4 class="sectiontitle">Function</h4><p id="iam_08_0004__en-us_topic_0221482423_p19911153712232">This API can be used by the administrator to query the details about a specified user or used by a user to query their details.</p>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section9913153762311"><h4 class="sectiontitle">URI</h4><p id="iam_08_0004__en-us_topic_0221482423_p12913143719239">GET /v3.0/OS-USER/users/{user_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_table091410375231" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row1091483719231"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="iam_08_0004__en-us_topic_0221482423_p0915133713239">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.2.3.2.5.1.2"><p id="iam_08_0004__en-us_topic_0221482423_p8915153712238">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="iam_08_0004__en-us_topic_0221482423_p59168379233">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.3.2.5.1.4"><p id="iam_08_0004__en-us_topic_0221482423_p11916143732318">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row14914183742317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p1291723718238">user_id</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p13917163742317">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p16918183762311">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_08_0004__en-us_topic_0221482423_p1391813377230">User ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section791923722312"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row1892015371237"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="iam_08_0004__en-us_topic_0221482423_p13920143716234">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.18%" id="mcps1.3.3.2.2.5.1.2"><p id="iam_08_0004__en-us_topic_0221482423_p189211737192318">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.82%" id="mcps1.3.3.2.2.5.1.3"><p id="iam_08_0004__en-us_topic_0221482423_p1892163711238">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="iam_08_0004__en-us_topic_0221482423_p11922103714238">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row9920193752315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p179241137182315">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="10.18%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p692513717237">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.82%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p19252037202318">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_08_0004__en-us_topic_0221482423_p2926123720236">A token with <strong id="iam_08_0004__b6741532114417">Security Administrator</strong> permissions is required if the administrator is requesting to query the details about a specified user.</p>
<p id="iam_08_0004__en-us_topic_0221482423_p8926837102318">If an IAM user is requesting to query their details, the user token (no special permission requirements) of the user is required.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section492773762310"><h4 class="sectiontitle">Response Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_responseParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row11928193732313"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.1"><p id="iam_08_0004__en-us_topic_0221482423_p9929103772311">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.2"><p id="iam_08_0004__en-us_topic_0221482423_p69291937112312">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.2.2.4.1.3"><p id="iam_08_0004__en-us_topic_0221482423_p1893019373235">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row392893719236"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p169309375239"><a href="#iam_08_0004__en-us_topic_0221482423_response_Rs82User">user</a></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p49316374234">Object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p5931143792312">User information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="iam_08_0004__en-us_topic_0221482423_response_Rs82User"></a><a name="en-us_topic_0221482423_response_Rs82User"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_response_Rs82User" frame="border" border="1" rules="all"><caption><b>Table 4 </b>user</caption><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row39327374235"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="iam_08_0004__en-us_topic_0221482423_p69334374238">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="iam_08_0004__en-us_topic_0221482423_p6934237162311">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="iam_08_0004__en-us_topic_0221482423_p39341637112312">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row193219379231"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p1593543732313">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p8935637142318">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p1393612379235">Enabling status of the user. <strong id="iam_08_0004__b1444503816131">true</strong> (default value) indicates that the user is enabled. <strong id="iam_08_0004__b544816383138">false</strong> indicates that the user is disabled.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row193283782316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p19936237142313">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p179377371235">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p18938937192316">User ID.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row199325378231"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p2938237142311">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p119391537102315">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p129402377232">ID of the account which the user belongs to.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row12932183717232"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p194033792319">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p13941937112310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p194110376230">Username.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row0932143732314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p16942163712314"><a href="#iam_08_0004__en-us_topic_0221482423_response_Rs82UserLinks">links</a></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p199428372233">Object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p12943537142313">User resource link information.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row893219374231"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p1894373792314">xuser_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p7944123712316">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p9944037162318">ID of the user in the external system.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row189321837162310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p189451537152317">xuser_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p129451537122310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p1494615379232">Type of the user in the external system.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row193253732310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p794712377238">areacode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p894713782314">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p1494823717233">Country code.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row993273716236"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p1194833722311">email</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p79491137192314">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p1094933718236">Email address.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row1693213371234"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p2950193722316">phone</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p395073710230">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p17951183718231">Mobile number.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row2093218376232"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p1395143718234">pwd_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p89521337142311">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p129521737192310">Password status. <strong id="iam_08_0004__b423211272142">true</strong> means that the password needs to be changed, and <strong id="iam_08_0004__b10237112720140">false</strong> means that the password is normal.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row5932193772316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p139531337182312">update_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p9953637182317">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__en-us_topic_0221482423_p1995443710237">Time when the user was last updated.</p>
</td>
</tr>
<tr id="iam_08_0004__row1461843453112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__p450816435318">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__p1450812436312">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__p14508194313314">Time when the user was created.</p>
</td>
</tr>
<tr id="iam_08_0004__row12619113443111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__p7508104333119">last_login_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__p850814363116">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__p4508154383114">Last login time of the user.</p>
</td>
</tr>
<tr id="iam_08_0004__row2619334113111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__p050874373114">pwd_strength</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__p10508543173117">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__p150810436316">Password strength. The value can be <strong id="iam_08_0004__b3964104341415">Low</strong>, <strong id="iam_08_0004__b2096918439144">Middle</strong>, <strong id="iam_08_0004__b7970143181410">High</strong>, or <strong id="iam_08_0004__b199709436146">None</strong>.</p>
</td>
</tr>
<tr id="iam_08_0004__row57361811068"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__p780093110228">is_domain_owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__p12800431152217">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__p1880014313229">Indicates whether the user is the account administrator.</p>
</td>
</tr>
<tr id="iam_08_0004__row107373112619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0004__p7800731142212">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0004__p17800631102215">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0004__p38005318220">Description about the user.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="iam_08_0004__en-us_topic_0221482423_response_Rs82UserLinks"></a><a name="en-us_topic_0221482423_response_Rs82UserLinks"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_response_Rs82UserLinks" frame="border" border="1" rules="all"><caption><b>Table 5 </b>user.links</caption><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row79549370238"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="iam_08_0004__p375364594614">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="iam_08_0004__p17531545104615">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="iam_08_0004__p157541845184611">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row17954237142310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_08_0004__p1275474517468">self</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_08_0004__p9754164594610">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_08_0004__p127545455461">Resource link.</p>
</td>
</tr>
<tr id="iam_08_0004__row16439145418508"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_08_0004__p275413459466">previous</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_08_0004__p1775484513469">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_08_0004__p1675464534619">Previous resource link.</p>
</td>
</tr>
<tr id="iam_08_0004__row11439125485020"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="iam_08_0004__p8755745144610">next</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="iam_08_0004__p8755194513468">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="iam_08_0004__p207551645174617">Next resource link.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section395883715237"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="iam_08_0004__en-us_topic_0221482423_screen1295983712315">GET https://sample.domain.com/v3.0/OS-USER/users/{user_id}</pre>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section6961137162313"><h4 class="sectiontitle">Example Response</h4><p id="iam_08_0004__en-us_topic_0221482423_p1961937182317"><strong id="iam_08_0004__b178271027158">Status code: 200</strong></p>
<p id="iam_08_0004__en-us_topic_0221482423_p1796117370238">The request is successful.</p>
<pre class="screen" id="iam_08_0004__screen1275611452469">{
"user" : {
"pwd_strength" : "Strong",
"create_time" : "2020-07-08 02:19:03.0",
"last_login_time" : null,
"areacode" : "",
"enabled" : true,
"domain_id" : "086ba757f90089cf0fe5c000dbe7f...",
"xuser_id" : "",
"pwd_status" : false,
"update_time" : null,
"phone" : "-",
"name" : "autotest1",
"links" : {
"next" : null,
"previous" : null,
"self" : "https://sample.domain.com/v3.0/OS-USER/users/093f75808b8089ba1f6dc000c7cac..."
},
"id" : "093f75808b8089ba1f6dc000c7cac...",
"xuser_type" : "",
"email" : "",
}
}</pre>
</div>
<div class="section" id="iam_08_0004__en-us_topic_0221482423_section99707375232"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0004__en-us_topic_0221482423_table2446" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_08_0004__en-us_topic_0221482423_row397193792320"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="iam_08_0004__en-us_topic_0221482423_p29721437152316">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="iam_08_0004__en-us_topic_0221482423_p7972143715238">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0004__en-us_topic_0221482423_row139711837122311"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p79739371238">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p6973153715238">The request is successful.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row169714376234"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p4976183782315">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p1097619374232">Access denied.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row16971113782313"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p997715375236">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p1197763702310">The requested resource cannot be found.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row797103792316"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p2978537152313">405</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p6978133792316">The method specified in the request is not allowed for the requested resource.</p>
</td>
</tr>
<tr id="iam_08_0004__en-us_topic_0221482423_row1797163719230"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0004__en-us_topic_0221482423_p10981133752316">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0004__en-us_topic_0221482423_p798153732316">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0057845593.html">User Management</a></div>
</div>
</div>