forked from docs/doc-exports
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>
379 lines
27 KiB
HTML
379 lines
27 KiB
HTML
<a name="iam_11_0003"></a><a name="iam_11_0003"></a>
|
|
|
|
<h1 class="topictitle1">Querying Role Assignments (Discarded)</h1>
|
|
<div id="body1584340837695"><div class="section" id="iam_11_0003__section59620919411"><h4 class="sectiontitle">Function</h4><p id="iam_11_0003__p731616172419">This API is used to query the user groups to which a specified role has been assigned.</p>
|
|
</div>
|
|
<div class="section" id="iam_11_0003__section15818105219411"><h4 class="sectiontitle">URI</h4><ul id="iam_11_0003__ul342333164213"><li id="iam_11_0003__li542412310423">URI format<p id="iam_11_0003__p998514512422"><a name="iam_11_0003__li542412310423"></a><a name="li542412310423"></a>GET /v3/role_assignments{?role.id,user.id,group.id,scope.project.id,scope.domain.id, scope.OS-INHERIT:inherited_to,include_subtree}</p>
|
|
</li><li id="iam_11_0003__li1228432112425">URI parameters: Specify any of the <strong id="iam_11_0003__b1562618620">role.id</strong>, <strong id="iam_11_0003__b14970771767">user.id</strong>, <strong id="iam_11_0003__b25621593615">group.id</strong>, <strong id="iam_11_0003__b20980101115620">scope.project.id</strong>, and <strong id="iam_11_0003__b99897140617">scope.domain.id</strong> parameters.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table2517250134218" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row166647509425"><th align="left" class="cellrowborder" valign="top" width="19.13808619138086%" id="mcps1.3.2.2.2.6.1.5.1.1"><p id="iam_11_0003__p1466415010422">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.10788921107889%" id="mcps1.3.2.2.2.6.1.5.1.2"><p id="iam_11_0003__p2664850154210">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.878412158784123%" id="mcps1.3.2.2.2.6.1.5.1.3"><p id="iam_11_0003__p18664165017425">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.87561243875613%" id="mcps1.3.2.2.2.6.1.5.1.4"><p id="iam_11_0003__p166485013429">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row1466425020421"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p166475011423">role.id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p1766410504422">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p1066485020424">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p6664185094217">Role ID.</p>
|
|
<p id="iam_11_0003__p14664145019424">This parameter must be specified in conjunction with any of <strong id="iam_11_0003__b422150687">user.id</strong>, <strong id="iam_11_0003__b1196362984">group.id</strong>, <strong id="iam_11_0003__b434625389">scope.project.id</strong>, and <strong id="iam_11_0003__b8492381812">scope.domain.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row2664135019422"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p166643507423">user.id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p266495010428">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p1866455084216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p5664125034219">User ID.</p>
|
|
<p id="iam_11_0003__p13664150204216">This parameter cannot be specified in conjunction with <strong id="iam_11_0003__b778623518819">group.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row146659507429"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p10665145084218">group.id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p18665195010420">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p2665195074218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p20665750194215">User group ID.</p>
|
|
<p id="iam_11_0003__p1665125014215">This parameter cannot be specified in conjunction with <strong id="iam_11_0003__b13554431813">user.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row18665105064219"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p106658502429">scope.project.id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p126651350144215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p176651650154215">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p18665250144217">Project ID.</p>
|
|
<p id="iam_11_0003__p66651650124220">This parameter cannot be specified in conjunction with <strong id="iam_11_0003__b140935810819">scope.domain.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row36654506425"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p1766585024218">scope.domain.id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p1566510502423">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p366535015423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p176652050124218">Domain ID.</p>
|
|
<p id="iam_11_0003__p1766595020429">This parameter cannot be specified in conjunction with <strong id="iam_11_0003__b175816117917">scope.project.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row1666519505426"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p966535012421">scope.OS-INHERIT:inherited_to</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p166511507426">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p066585014427">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p146657507426">Used to filter based on role assignments that are inherited.</p>
|
|
<p id="iam_11_0003__p186651950154218">The only value of this parameter that is currently supported is <strong id="iam_11_0003__b12567144510116">projects</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row12665550194218"><td class="cellrowborder" valign="top" width="19.13808619138086%" headers="mcps1.3.2.2.2.6.1.5.1.1 "><p id="iam_11_0003__p12665145034210">include_subtree</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.10788921107889%" headers="mcps1.3.2.2.2.6.1.5.1.2 "><p id="iam_11_0003__p2066655094216">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.878412158784123%" headers="mcps1.3.2.2.2.6.1.5.1.3 "><p id="iam_11_0003__p5666115024213">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.87561243875613%" headers="mcps1.3.2.2.2.6.1.5.1.4 "><p id="iam_11_0003__p1366625094215">The value <strong id="iam_11_0003__b875514021415">true</strong> means listing all role assignments involving the specified project and all subprojects. Any non-zero value of this parameter will be interpreted as <strong id="iam_11_0003__b0957351151518">true</strong>.</p>
|
|
<p id="iam_11_0003__p1866665094210">This parameter must be specified in conjunction with <strong id="iam_11_0003__b495319575151">scope.project.id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="iam_11_0003__section12193919164318"><h4 class="sectiontitle">Request Parameters</h4><ul id="iam_11_0003__ul13170134294317"><li id="iam_11_0003__li1417184294310">Parameters in the request header
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table104459558432" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row104991755154319"><th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="iam_11_0003__p6499145518439">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.36816318368163%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="iam_11_0003__p194991355124315">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="iam_11_0003__p11499105554311">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.89551044895511%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="iam_11_0003__p1549975594310">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row949915520432"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="iam_11_0003__p049911556433">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.36816318368163%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="iam_11_0003__p1449905513435">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="iam_11_0003__p949919552432">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="iam_11_0003__p1050065534319">Fill <strong id="iam_11_0003__b13322364168">application/json;charset=utf8</strong> in this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row11500955184313"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="iam_11_0003__p3500255194315">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.36816318368163%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="iam_11_0003__p155001455154313">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="iam_11_0003__p950011554438">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="iam_11_0003__p1650045564318">Authenticated token with the <strong id="iam_11_0003__b750798910387">Security Administrator</strong> permission.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="iam_11_0003__li36579815443">Example request<pre class="screen" id="iam_11_0003__screen1896519279512"><em id="iam_11_0003__i49899271550">curl -i -k -H "X-Auth-Token:$token" -H 'Content-Type:application/json;charset=utf8' -X GET https://sample.domain.com/v3/role_assignments?group.id=06c904fddd807cd93f0ec018b5d30a34&role.id=bc61db25975247758de0d5e254a85915&scope.domain.id=06c904fdca807cd90f0ac018001...</em></pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="iam_11_0003__section18356122973"><h4 class="sectiontitle">Response Parameters</h4><ul id="iam_11_0003__ul750913167712"><li id="iam_11_0003__li125091816475">Parameters in the response body
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table736314271273" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row541212271872"><th align="left" class="cellrowborder" valign="top" width="23.46765323467653%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="iam_11_0003__p941215271777">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="iam_11_0003__p164128279711">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="iam_11_0003__p541211271977">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.89551044895511%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="iam_11_0003__p7412162717715">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row3412142718713"><td class="cellrowborder" valign="top" width="23.46765323467653%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="iam_11_0003__p124138271717">role_assignments</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="iam_11_0003__p54131527776">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="iam_11_0003__p104137273713">List</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="iam_11_0003__p241322719713">Role assignments.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row24135275711"><td class="cellrowborder" valign="top" width="23.46765323467653%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="iam_11_0003__p1041317271710">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="iam_11_0003__p154131527673">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="iam_11_0003__p141322718714">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.89551044895511%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="iam_11_0003__p144135275711">Role resource link.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="iam_11_0003__li663213301272">role_assignments
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table69052491679" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row13918501477"><th align="left" class="cellrowborder" valign="top" width="12.58125812581258%" id="mcps1.3.4.2.2.1.1.5.1.1"><p id="iam_11_0003__p4394507718">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="7.550755075507551%" id="mcps1.3.4.2.2.1.1.5.1.2"><p id="iam_11_0003__p539155016713">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.601060106010602%" id="mcps1.3.4.2.2.1.1.5.1.3"><p id="iam_11_0003__p3393509715">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="69.26692669266926%" id="mcps1.3.4.2.2.1.1.5.1.4"><p id="iam_11_0003__p103995019712">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row73920501478"><td class="cellrowborder" valign="top" width="12.58125812581258%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="iam_11_0003__p16393506714">scope</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.550755075507551%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="iam_11_0003__p4391250371">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.601060106010602%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="iam_11_0003__p9391050876">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.26692669266926%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="iam_11_0003__p153918501279">Application scope of the role. The value can be <strong id="iam_11_0003__b2732145111810">domain</strong> or <strong id="iam_11_0003__b146864499184">project</strong>.</p>
|
|
<p id="iam_11_0003__p19399501177">Domain:</p>
|
|
<pre class="screen" id="iam_11_0003__screen3391850772">"scope": {
|
|
"domain": {
|
|
"id": "06c9..."
|
|
}
|
|
}</pre>
|
|
<p id="iam_11_0003__p94085017711">Project:</p>
|
|
<pre class="screen" id="iam_11_0003__screen1406504713">"scope": {
|
|
"project": {
|
|
"id": "06c9..."
|
|
}
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row540250774"><td class="cellrowborder" valign="top" width="12.58125812581258%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="iam_11_0003__p84018509718">role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.550755075507551%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="iam_11_0003__p74065011716">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.601060106010602%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="iam_11_0003__p194075018716">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.26692669266926%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="iam_11_0003__p14011503720">Role information, including the role ID.</p>
|
|
<p id="iam_11_0003__p13409509713">Example:</p>
|
|
<pre class="screen" id="iam_11_0003__screen74016501972">"role": {
|
|
" id ": " bc61..."
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row204065019713"><td class="cellrowborder" valign="top" width="12.58125812581258%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="iam_11_0003__p1340115019718">group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.550755075507551%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="iam_11_0003__p124011501070">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.601060106010602%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="iam_11_0003__p114018501675">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.26692669266926%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="iam_11_0003__p5409501173">Group information, which is returned if the role has been assigned to a user group.</p>
|
|
<p id="iam_11_0003__p7408501170">Example:</p>
|
|
<pre class="screen" id="iam_11_0003__screen11407501672">"group": {
|
|
" id ": " 06c9..."
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row641185010718"><td class="cellrowborder" valign="top" width="12.58125812581258%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="iam_11_0003__p141950874">agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.550755075507551%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="iam_11_0003__p1441250174">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.601060106010602%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="iam_11_0003__p12418501173">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.26692669266926%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="iam_11_0003__p194116501170">Group information, which is returned if the role has been assigned to an agency.</p>
|
|
<p id="iam_11_0003__p24116501672">Example:</p>
|
|
<pre class="screen" id="iam_11_0003__screen184115501716">"agency": {
|
|
" id ": " 06c9..."
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row5411650470"><td class="cellrowborder" valign="top" width="12.58125812581258%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="iam_11_0003__p941850073">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.550755075507551%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="iam_11_0003__p174111505715">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.601060106010602%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="iam_11_0003__p174110501679">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.26692669266926%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="iam_11_0003__p10411501977">Assignment resource link information.</p>
|
|
<p id="iam_11_0003__p9414501675">Example:</p>
|
|
<pre class="screen" id="iam_11_0003__screen1541145017711">"links": {
|
|
"assignment": "https://sample.domain.com/v3/projects/06c9../groups/06c9../roles/bc61.. "
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="iam_11_0003__li470414919914">links
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table2686858797" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row576111581897"><th align="left" class="cellrowborder" valign="top" width="12.761276127612762%" id="mcps1.3.4.2.3.1.1.5.1.1"><p id="iam_11_0003__p1076111581497">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="7.820782078207822%" id="mcps1.3.4.2.3.1.1.5.1.2"><p id="iam_11_0003__p207611658691">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.14111411141114%" id="mcps1.3.4.2.3.1.1.5.1.3"><p id="iam_11_0003__p1976210587913">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="68.27682768276827%" id="mcps1.3.4.2.3.1.1.5.1.4"><p id="iam_11_0003__p37626581696">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row207621058694"><td class="cellrowborder" valign="top" width="12.761276127612762%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="iam_11_0003__p1762155810914">self</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.820782078207822%" headers="mcps1.3.4.2.3.1.1.5.1.2 "><p id="iam_11_0003__p1176212581599">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.14111411141114%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="iam_11_0003__p107621458495">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.27682768276827%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="iam_11_0003__p207621258495">Resource link.</p>
|
|
<p id="iam_11_0003__p976218581393">Example:</p>
|
|
<p id="iam_11_0003__p1076215581799">"self": "https://sample.domain.com/v3/role_assignments? group.id=06c..."</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row1176215818920"><td class="cellrowborder" valign="top" width="12.761276127612762%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="iam_11_0003__p1176295819918">previous</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.820782078207822%" headers="mcps1.3.4.2.3.1.1.5.1.2 "><p id="iam_11_0003__p1976212585910">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.14111411141114%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="iam_11_0003__p176213586916">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.27682768276827%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="iam_11_0003__p67628582920">Previous resource link.</p>
|
|
<p id="iam_11_0003__p1676214588916">Example:</p>
|
|
<p id="iam_11_0003__p107627581498">"previous": null</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row11762458591"><td class="cellrowborder" valign="top" width="12.761276127612762%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="iam_11_0003__p1762115816910">next</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="7.820782078207822%" headers="mcps1.3.4.2.3.1.1.5.1.2 "><p id="iam_11_0003__p97621858393">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.14111411141114%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="iam_11_0003__p17623583912">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="68.27682768276827%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="iam_11_0003__p1176219581797">Next resource link.</p>
|
|
<p id="iam_11_0003__p1376217586910">Example:</p>
|
|
<p id="iam_11_0003__p19762858899">"next": null</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="iam_11_0003__li1551432212105">Example response<pre class="screen" id="iam_11_0003__screen0761105171115">{
|
|
"role_assignments": [
|
|
{
|
|
"scope": {
|
|
"domain": {
|
|
"id": "06c904fdca807cd90f0ac01800167760"
|
|
}
|
|
},
|
|
"role": {
|
|
"id": "bc61db25975247758de0d5e254a85915"
|
|
},
|
|
"group": {
|
|
"id": "06c904fddd807cd93f0ec018b5d30a34"
|
|
},
|
|
"links": {
|
|
"assignment": "https://sample.domain.com/v3/domains/06c904fdca807cd90f0ac01800167760/groups/06c904fddd807cd93f0ec018b5d30a34/roles/bc61db25975247758de0d5e254a85915"
|
|
}
|
|
}
|
|
],
|
|
"links": {
|
|
"self": "https://sample.domain.com/v3/role_assignments?group.id=06c904fddd807cd93f0ec018b5d30a34&role.id=bc61db25975247758de0d5e254a85915&scope.domain.id=06c904fdca807cd90f0ac01800167760",
|
|
"previous": null,
|
|
"next": null
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="iam_11_0003__section42981026161114"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_11_0003__table93529332115" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_11_0003__row1242463391110"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="iam_11_0003__p14424033161112">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="iam_11_0003__p19424733151115">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="iam_11_0003__row7424183310117"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p16424173310112">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p7424143313114">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row12424123314114"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p9424193317113">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p15424113321117">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row12424113331112"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p7424333201111">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p1242419335118">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row1442418336117"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p10424113315119">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p84241033161111">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row194240337118"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p10424533121118">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p13424113381113">The requested resource cannot be found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row042473371110"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p642416333115">405</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p19424143371114">The method specified in the request is not allowed for the requested resource.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row142463314112"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p14424113313111">413</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p54241833191116">The request entity is too large.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="iam_11_0003__row184259332117"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="iam_11_0003__p15425163311118">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="iam_11_0003__p1742519331113">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0057845579.html">Permission Management</a></div>
|
|
</div>
|
|
</div>
|
|
|