Files
doc-exports/docs/swr/api-ref/swr_02_0043.html
qiujiandong1 73ffc816f4 SWR API 20250521 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-10-29 10:18:41 +00:00

144 lines
12 KiB
HTML

<a name="swr_02_0043"></a><a name="swr_02_0043"></a>
<h1 class="topictitle1">Canceling Organization Permissions</h1>
<div id="body8662426"><div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section1610283123310"><h4 class="sectiontitle">Description</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p9102173119336">Cancel the organization operation permissions of certain users.</p>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section610263119336"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p5103153116333">None</p>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section41031731153312"><h4 class="sectiontitle">URI</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p14103103143316">DELETE /v2/manage/namespaces/{namespace}/access</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0043__en-us_topic_0000001185595820_table14104173118330" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameter</caption><thead align="left"><tr id="swr_02_0043__en-us_topic_0000001185595820_row1210463112337"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0043__en-us_topic_0000001185595820_p5104183123312">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="swr_02_0043__en-us_topic_0000001185595820_p8105031193317">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="swr_02_0043__en-us_topic_0000001185595820_p17105133163315">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="swr_02_0043__en-us_topic_0000001185595820_p810503113316">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0043__en-us_topic_0000001185595820_row010483153317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p9105163115338">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p19105133120331">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0043__en-us_topic_0000001185595820_p310512319338">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0043__en-us_topic_0000001185595820_p1810619311338">Organization name. Enter 1 to 64 characters, starting with a lowercase letter and ending with a lowercase letter or digit. Only lowercase letters, digits, periods (.), underscores (_), and hyphens (-) are allowed. Periods, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section1106143111332"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0043__en-us_topic_0000001185595820_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0043__en-us_topic_0000001185595820_row710611318333"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0043__en-us_topic_0000001185595820_p1010773143315">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="swr_02_0043__en-us_topic_0000001185595820_p1010718316333">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="swr_02_0043__en-us_topic_0000001185595820_p610813311331">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="swr_02_0043__en-us_topic_0000001185595820_p5108103113316">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0043__en-us_topic_0000001185595820_row11061931193319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p51082319337">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p2108123173315">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0043__en-us_topic_0000001185595820_p18108153117338">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0043__en-us_topic_0000001185595820_p14109831183320">Message body type (format). The value can be <strong id="swr_02_0043__en-us_topic_0000001185595820_b27678321700">application/json</strong> or <strong id="swr_02_0043__en-us_topic_0000001185595820_b876712321806">charset=utf-8 application/json</strong>.</p>
<p id="swr_02_0043__en-us_topic_0000001185595820_p1210913173313">Default value: <strong id="swr_02_0043__en-us_topic_0000001185595820_b14167163510011">application/json</strong></p>
</td>
</tr>
<tr id="swr_02_0043__en-us_topic_0000001185595820_row1110693116337"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p7109163153311">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p1010983119336">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0043__en-us_topic_0000001185595820_p5109031123313">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0043__en-us_topic_0000001185595820_p71091731183310">User token.</p>
<p id="swr_02_0043__en-us_topic_0000001185595820_p311014311331">The token can be obtained by calling the IAM API used to obtain a user token. The value of <strong id="swr_02_0043__en-us_topic_0000001185595820_b18760189641195">X-Subject-Token</strong> in the response header is the user token.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0043__en-us_topic_0000001185595820_request_RequestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameter</caption><thead align="left"><tr id="swr_02_0043__en-us_topic_0000001185595820_row9110131193319"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="swr_02_0043__en-us_topic_0000001185595820_p21115318332">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="swr_02_0043__en-us_topic_0000001185595820_p1311112315336">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="swr_02_0043__en-us_topic_0000001185595820_p711193133318">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="swr_02_0043__en-us_topic_0000001185595820_p11111133117332">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0043__en-us_topic_0000001185595820_row51102313335"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p151111031143319">[items]</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p2011111316335">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="swr_02_0043__en-us_topic_0000001185595820_p151121331203316">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="swr_02_0043__en-us_topic_0000001185595820_p1011220310335">ID list of users whose permissions need to be deleted. Obtain the list from IAM.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section6112331143312"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p711210310331">None</p>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section14112531113316"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0043__en-us_topic_0000001185595820_screen1911216312339">DELETE https://{endpoint}/v2/manage/namespaces/{namespace}/access
[ "fb3f175c1fd146ab8cdae3272be6107b" ]</pre>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section17113103113337"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p1411318312330">None</p>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section131291131163314"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0043__en-us_topic_0000001185595820_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0043__en-us_topic_0000001185595820_row161301431123318"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0043__en-us_topic_0000001185595820_p5130631153313">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="swr_02_0043__en-us_topic_0000001185595820_p413110313334">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0043__en-us_topic_0000001185595820_row1113003111339"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p8131631123312">204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p1413153113314">Deletion succeeded.</p>
</td>
</tr>
<tr id="swr_02_0043__en-us_topic_0000001185595820_row11130193112335"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p8131193173310">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p0131831133312">Request error.</p>
</td>
</tr>
<tr id="swr_02_0043__en-us_topic_0000001185595820_row7130631133311"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p31310317338">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p1131123193313">Authentication failed.</p>
</td>
</tr>
<tr id="swr_02_0043__en-us_topic_0000001185595820_row181301631153313"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p131321231143313">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p31323315332">The organization was not found.</p>
</td>
</tr>
<tr id="swr_02_0043__en-us_topic_0000001185595820_row71304312336"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0043__en-us_topic_0000001185595820_p12132331133319">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0043__en-us_topic_0000001185595820_p10132163143315">Internal error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0043__en-us_topic_0000001185595820_section191331031173312"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0043__en-us_topic_0000001185595820_p71337312333">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_02_0090.html">Organization Permission Management</a></div>
</div>
</div>