doc-exports/docs/iam/api-ref/iam_10_0013.html
zhangyue 3b5a58b1fe IAM API 2.0.38
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2022-10-26 04:31:24 +00:00

122 lines
8.2 KiB
HTML

<a name="iam_10_0013"></a><a name="iam_10_0013"></a>
<h1 class="topictitle1">Removing Specified Permissions of a User Group in All Projects</h1>
<div id="body1604927021780"><div class="section" id="iam_10_0013__section26355555012"><h4 class="sectiontitle">Function</h4><p id="iam_10_0013__p1667917525017">This API is provided for the administrator to remove the specified permissions of a user group in all projects.</p>
</div>
<div class="section" id="iam_10_0013__section1863513514503"><h4 class="sectiontitle">URI</h4><p id="iam_10_0013__p76792565015">DELETE /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_10_0013__table206362585011" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="iam_10_0013__row56794515018"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="iam_10_0013__p367917575018">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="iam_10_0013__p1067975145017">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="iam_10_0013__p66793525020">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="iam_10_0013__p26791575012">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_10_0013__row167916514500"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_10_0013__p8679853504">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_10_0013__p06797513501">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_10_0013__p1667918555016">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_10_0013__p167935105015">ID of the domain to which the user group belongs.</p>
</td>
</tr>
<tr id="iam_10_0013__row1679959505"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_10_0013__p186794545020">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_10_0013__p18679165115015">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_10_0013__p3679145105016">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_10_0013__p1067910535012">User group ID.</p>
</td>
</tr>
<tr id="iam_10_0013__row1679195185014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="iam_10_0013__p36794518503">role_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="iam_10_0013__p767911514503">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="iam_10_0013__p4679554506">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="iam_10_0013__p967911535018">Permission ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_10_0013__section464211595014"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_10_0013__table2642135145020" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="iam_10_0013__row068011518506"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="iam_10_0013__p176806505017">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="iam_10_0013__p468012510501">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="iam_10_0013__p18680185125018">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="iam_10_0013__p10680165125016">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_10_0013__row186805518505"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="iam_10_0013__p156801951503">X-Auth-token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="iam_10_0013__p668010565016">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="iam_10_0013__p7680165135014">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="iam_10_0013__p1646215138496">Token with <strong id="iam_10_0013__b4716114234520">Security Administrator</strong> or <strong id="iam_10_0013__b8121145184517">op_auth</strong> permissions.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="iam_10_0013__section1164585125015"><h4 class="sectiontitle">Response Parameters</h4><p id="iam_10_0013__p11680195115015">None</p>
</div>
<div class="section" id="iam_10_0013__section1764565185012"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="iam_10_0013__screen106801511509">DELETE https://sample.domain.com/v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects</pre>
</div>
<div class="section" id="iam_10_0013__section14646165115012"><h4 class="sectiontitle">Example Response</h4><p id="iam_10_0013__p758374865414">None</p>
</div>
<div class="section" id="iam_10_0013__section13646105155013"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="iam_10_0013__en-us_topic_0222037475_table279" frame="border" border="1" rules="all"><thead align="left"><tr id="iam_10_0013__en-us_topic_0222037475_row9421428133316"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="iam_10_0013__en-us_topic_0222037475_p14313282335">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_10_0013__en-us_topic_0222037475_p1431628163312">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="iam_10_0013__en-us_topic_0222037475_row1242182817338"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_10_0013__p175185415513">204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_10_0013__p18518541356">The request is successful.</p>
</td>
</tr>
<tr id="iam_10_0013__row10324195355417"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_10_0013__p1652019501377">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_10_0013__p552075016378">Authentication failed.</p>
</td>
</tr>
<tr id="iam_10_0013__en-us_topic_0222037475_row442112843313"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_10_0013__p351816411454">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_10_0013__p1051834111518">You do not have permission to perform this action.</p>
</td>
</tr>
<tr id="iam_10_0013__row1328417567335"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_10_0013__p5048894216138">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_10_0013__p6307248716138">The requested resource cannot be found.</p>
</td>
</tr>
<tr id="iam_10_0013__en-us_topic_0222037475_row54272833315"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="iam_10_0013__p951816413513">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="iam_10_0013__p151874120512">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_0057845579.html">Permission Management</a></div>
</div>
</div>