doc-exports/docs/iam/api-ref/iam_08_0015.html
weihongmin1 ca9b774f3d IAM API 1108 Version
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2024-12-03 20:42:07 +00:00

463 lines
46 KiB
HTML

<a name="iam_08_0015"></a><a name="iam_08_0015"></a>
<h1 class="topictitle1">Creating an IAM User (Recommended)</h1>
<div id="body8662426"><div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section1474415507251"><h4 class="sectiontitle">Function</h4><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p15745145032515">This API is provided for the administrator to create an IAM user.</p>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section12746115052514"><h4 class="sectiontitle">URI</h4><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p2746950192514">POST /v3.0/OS-USER/users</p>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section187477503255"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the request header</caption><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row14748115052514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1374955019259">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p16749750182517">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.2.2.5.1.3"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p87501450132515">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p177505505252">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row77483504251"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1875119508252">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p175225011258">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p575211503259">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1975310500255">Fill <strong id="iam_08_0015__en-us_topic_0221572537_b120993515245">application/json;charset=utf8</strong> in this field.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1974810502254"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1775395092513">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p3754135019251">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p5754155052519">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_p65316016442">Access token issued to a user to bear its identity and permissions.</p>
<p id="iam_08_0015__en-us_topic_0221572537_p155317012444">For details about the permissions required by the token, see "Actions".</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_requestParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request body</caption><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row6755650142510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p11756135012256">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.3.2.5.1.2"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p37576500257">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p10758155062515">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.2.5.1.4"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1275955016255">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row87551450132518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p167601950142511"><a href="#iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_request_Rq86User">user</a></p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.3.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1376010501256">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p3761105082517">Object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1576215022512">IAM user information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_request_Rq86User"></a><a name="en-us_topic_0221572537_en-us_topic_0221482430_request_Rq86User"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_request_Rq86User" frame="border" border="1" rules="all"><caption><b>Table 3 </b>user</caption><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row8763150142511"><th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.3.4.2.5.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1576505011253">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.4.2.5.1.2"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p07665504255">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.88%" id="mcps1.3.3.4.2.5.1.3"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p17671500252">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.13999999999999%" id="mcps1.3.3.4.2.5.1.4"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1676745092515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row18763145062515"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p10768105012259">name</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p976975002515">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p076935072511">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p117701350162518">IAM username, which consists of 1 to 64 characters. It can contain letters (case-sensitive), digits, spaces, hyphens (-), underscores (_), and periods (.), and cannot start with a digit or space.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1376418507254"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1771165052515">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p577135032516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1277215014254">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p11772750162514">Account ID. For details about how to obtain the account ID, see <a href="en-us_topic_0057845624.html">Obtaining User, Account, User Group, Project, and Agency Information</a>.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row117641350122514"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p27741507250">password</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p277515014256">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1177625014252">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p157764507258">Password of the user.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row17764205011250"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p077925020259">email</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p117800508254">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1378185092516">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p187825501258">Valid email address with a maximum of 255 characters.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1976465012516"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p978285017257">areacode</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p4783450142513">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p2078375092512">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p478425020258">Country code. The country code must be used together with a mobile number. </p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row11764205013252"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p14784125062518">phone</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1978514506253">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p97851750182516">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p147861950182512">Mobile number with a maximum of 32 digits. The mobile number must be used together with a country code.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row197641550142516"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p17786195011254">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1978725012250">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p6788105012519">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p07881350122520">Enabling status of the IAM user. <strong id="iam_08_0015__en-us_topic_0221572537_b8405104722414">true</strong> (default value) indicates that the user is enabled. <strong id="iam_08_0015__en-us_topic_0221572537_b2411194732419">false</strong> indicates that the user is disabled.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1076455042512"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p7789750152515">pwd_status</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p12791115020255">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1679445082515">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p147945504252">Indicates whether password reset is required at the first login. By default, password reset is required.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row17764145072518"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p147991450142515">xuser_type</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p97991506252">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p7800175002515">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1680175020252">Type of the IAM user in the external system. The user type can contain a maximum of 64 characters. <strong id="iam_08_0015__en-us_topic_0221572537_b1166443319207">xuser_type</strong> must be used together with <strong id="iam_08_0015__en-us_topic_0221572537_b4280134516202">xuser_id</strong> and will be verified based on <strong id="iam_08_0015__en-us_topic_0221572537_b14179618202217">xaccount_type</strong> and <strong id="iam_08_0015__en-us_topic_0221572537_b74921822142214">xdomain_type</strong> of the same account. Currently, the parameter value can only be <strong id="iam_08_0015__en-us_topic_0221572537_b441112314254">TenantIdp</strong>.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_note118031650102520"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p16804175013252">An external system refers to an enterprise management system connected to the cloud platform. Parameters <strong id="iam_08_0015__en-us_topic_0221572537_b13925171110239">xaccount_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b15612171542316">xaccount_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b91979183231">xdomain_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b524102032311">xdomain_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b64781324102320">xuser_type</strong>, and <strong id="iam_08_0015__en-us_topic_0221572537_b18568273230">xuser_id</strong> cannot be obtained from the cloud platform. Please contact your enterprise administrator.</p>
</div></div>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row12764195018254"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p158053509252">xuser_id</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p980610508258">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p13807185052520">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p18071950162515">ID of the IAM user in the external system. The user ID can contain a maximum of 128 characters, and must be used together with <strong id="iam_08_0015__en-us_topic_0221572537_b91315221695">xuser_type</strong>. Due to the latency, the IAM console may not be able to display the external identity ID you have set in real time. Refresh the page later.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_note980910503251"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p881015503255">An external system refers to an enterprise management system connected to the cloud platform. Parameters <strong id="iam_08_0015__en-us_topic_0221572537_b62131797477">xaccount_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b321319134714">xaccount_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b42133914719">xdomain_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b17213499471">xdomain_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b52131934719">xuser_type</strong>, and <strong id="iam_08_0015__en-us_topic_0221572537_b92131998479">xuser_id</strong> cannot be obtained from the cloud platform. Please contact your enterprise administrator.</p>
</div></div>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row7764250112516"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.4.2.5.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1811115042513">description</p>
</td>
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.4.2.5.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p58111350172519">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.88%" headers="mcps1.3.3.4.2.5.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p9812185082516">String</p>
</td>
<td class="cellrowborder" valign="top" width="50.13999999999999%" headers="mcps1.3.3.4.2.5.1.4 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p98126503253">Description of the IAM user.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section481319508251"><h4 class="sectiontitle">Response Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_responseParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Parameters in the response body</caption><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row381455015254"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.4.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p15815350172519">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p181618506254">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p181612508258">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row128141950112514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p681785014257"><a href="#iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_response_Rs86User">user</a></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p981795012512">Object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.2.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p19818250152511">IAM user information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_response_Rs86User"></a><a name="en-us_topic_0221572537_en-us_topic_0221482430_response_Rs86User"></a><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_response_Rs86User" frame="border" border="1" rules="all"><caption><b>Table 5 </b>user</caption><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row14819165019257"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p3823125010258">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p7824195022516">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1782616501255">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1181910500252"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1982755012258">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p12828165018251">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p168281150182519">Status of the IAM user.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row4820350142511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p19829350192513">pwd_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p182985072510">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p083095011256">Indicates whether password reset is required at the first login.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row14820185013259"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p3831175042511">xuser_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p158311150112513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p48326503256">ID of the IAM user in the external system.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_note9833115052519"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p2834050172514">An external system refers to an enterprise management system connected to the cloud platform. Parameters <strong id="iam_08_0015__en-us_topic_0221572537_b155581359661">xaccount_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b11558105919618">xaccount_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b755911592062">xdomain_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b1955911592615">xdomain_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b85601259265">xuser_type</strong>, and <strong id="iam_08_0015__en-us_topic_0221572537_b16560135911620">xuser_id</strong> cannot be obtained from the cloud platform. Please contact your enterprise administrator.</p>
</div></div>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row14820145012252"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1983517502251">xuser_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p183735072518">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1483710506251">Type of the IAM user in the external system.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_note1583915013258"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1483915503258">An external system refers to an enterprise management system connected to the cloud platform. Parameters <strong id="iam_08_0015__en-us_topic_0221572537_b515031010713">xaccount_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b191502106715">xaccount_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b121512010376">xdomain_type</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b1015115101576">xdomain_id</strong>, <strong id="iam_08_0015__en-us_topic_0221572537_b13151610473">xuser_type</strong>, and <strong id="iam_08_0015__en-us_topic_0221572537_b51521410874">xuser_id</strong> cannot be obtained from the cloud platform. Please contact your enterprise administrator.</p>
</div></div>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row28211950112515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p284011507255">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p158411450122514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p684135012259">Description of the IAM user.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row582195014254"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1384215509257">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p0843650152514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p4844650182515">IAM username, which consists of 1 to 32 characters. It can contain letters (case-sensitive), digits, spaces, hyphens (-), underscores (_), and periods (.), and cannot start with a digit or space.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row082145013254"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p884455011258">phone</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1284505022516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p784519503255">Mobile number with a maximum of 32 digits. The mobile number must be used together with a country code.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1782185019258"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1184615012517">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1384735092513">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1784719503258">Indicates whether the IAM user is an administrator.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row8821950132518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p18848105052520">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1184912507251">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p178491450202519">ID of the account used to create the IAM user.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row182135016258"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p2085014501255">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p14851145017251">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p4853850152512">Enabling status of the IAM user. <strong id="iam_08_0015__en-us_topic_0221572537_b24411450122417">true</strong> (default value) indicates that the user is enabled. <strong id="iam_08_0015__en-us_topic_0221572537_b184421050172420">false</strong> indicates that the user is disabled.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row98211550102518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p14854155082515">areacode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p985415505257">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p6855250172514">Country code. </p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row482155010251"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p58561250112520">email</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p15857175092517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1285845016257">Email address.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row198218501254"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p7858105042518">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p586014502254">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p3861950122515">Time when the IAM user was created.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_note29096613519"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_p1491018683518">The value is a UTC time in the YYYY-MM-DDTHH:mm:ss.ssssss format, for example, 2023-06-28T08:56:33.710000.</p>
</div></div>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1082115017256"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p16864750132519">xdomain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p38651504259">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p986565052518">Customer code of the business entity.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row682235018255"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p48661650172511">xdomain_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p16867145019254">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p386815502258">Business entity.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_row45291156135115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_p12529155615118">default_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_p19529115615113">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_p115291560513">Default project ID.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row12822450162511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1986918503258">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p138701350142512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p38711650132518">IAM user ID that contains 32 characters.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row9822145017253"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p2871135042512">password_expires_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p13872125062516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p17873350152510">Password expiration time. If this parameter is set to <strong id="iam_08_0015__en-us_topic_0221572537_b13640191713195">null</strong>, the password will never expire.</p>
<div class="note" id="iam_08_0015__en-us_topic_0221572537_note394981273519"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="iam_08_0015__en-us_topic_0221572537_p1194941243512">The value is a UTC time in the YYYY-MM-DDTHH:mm:ss.ssssss format, for example, 2023-06-28T08:56:33.710000.</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section12874125032513"><h4 class="sectiontitle">Example Request</h4><p id="iam_08_0015__en-us_topic_0221572537_p9887122510345">Request for an administrator to create an IAM user named <strong id="iam_08_0015__en-us_topic_0221572537_b1238233911187">IAMUser</strong>, with the email address <strong id="iam_08_0015__en-us_topic_0221572537_b47061455172314">IAMEmail@</strong><strong id="iam_08_0015__en-us_topic_0221572537_b07063555239"></strong><strong id="iam_08_0015__en-us_topic_0221572537_b6706855152313">example</strong><strong id="iam_08_0015__en-us_topic_0221572537_b1170613554238">.com</strong> and mobile number <strong id="iam_08_0015__en-us_topic_0221572537_b9968151119242"></strong><strong id="iam_08_0015__en-us_topic_0221572537_b1796851115244">00123</strong><strong id="iam_08_0015__en-us_topic_0221572537_b8968161116242">12345678910</strong> bound, and with both programmatic access and management console access</p>
<pre class="screen" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_screen1911044195114">POST https://<span id="iam_08_0015__en-us_topic_0221572537_text715321191316"></span>sample.domain.com/v3.0/OS-USER/users</pre>
<pre class="screen" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_screen11876115002516">{
"user": {
"domain_id": "d78cbac186b744899480f25...",
"name": "IAMUser",
"password": "IAMPassword@",
"email": "IAMEmail@example.com",
"areacode": "00123",
"phone": "12345678910",
"enabled": true,
"pwd_status": false,
"xuser_type": "",
"xuser_id": "",
"description": "IAMDescription"
}
}</pre>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section11884125022515"><h4 class="sectiontitle">Example Response</h4><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p4885165018256"><strong id="iam_08_0015__en-us_topic_0221572537_b174519103210">Status code: 201</strong></p>
<p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p088565017258">The IAM user is created successfully.</p>
<pre class="screen" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_screen2887125012259">{
"user": {
"pwd_status": false,
"xuser_id": "",
"xuser_type": "",
"description": "IAMDescription",
"name": "IAMUser",
"phone": "12345678910",
"is_domain_owner": false,
"enabled": true,
"domain_id": "d78cbac186b744899480f25bd...",
"areacode": "00123",
"email": "IAMEmail@example.com",
"create_time": "2020-01-06T08:05:16.000000",
"xdomain_id": "",
"xdomain_type": "",
"id": "07664aec578026691f00c003a...",
"status": null,
"password_expires_at": null,
"default_project_id": null
}
}</pre>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section1147551202513"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_table2454" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row2899850192514"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p44715119255">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_0015__en-us_topic_0221572537_en-us_topic_0221482430_p12481951162518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row1589905012517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1048115122510">201</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1948165120257">The IAM user is created successfully.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row78991750122520"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1948051162516">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p104985132512">Invalid parameters.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row489945032515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p54985152514">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p649251102513">Authentication failed.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row19899115052510"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p249651162511">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p850115117259">Access denied.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row88991750182514"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1250175117250">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1850651122518">The requested resource cannot be found.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row118991450132518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1251551162516">405</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1515516255">The method specified in the request is not allowed for the requested resource.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row58991550132513"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p55165117251">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p251145172511">A resource conflict occurs.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row14900165018251"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p14526514250">413</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p35295113253">The request entity is too large.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row79008501255"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p145245172517">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p5535519251">Internal server error.</p>
</td>
</tr>
<tr id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_row490014508257"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1553451202513">503</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_p1053175116252">Service unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_08_0015__en-us_topic_0221572537_en-us_topic_0221482430_section195413515254"><h4 class="sectiontitle">Error Codes</h4><p id="iam_08_0015__en-us_topic_0221572537_p101011621325">See "Error Codes".</p>
</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>