forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
112 lines
8.3 KiB
HTML
112 lines
8.3 KiB
HTML
<a name="swr_02_0027"></a><a name="swr_02_0027"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an Organization</h1>
|
|
<div id="body1531798197422"><div class="section" id="swr_02_0027__se03aae4436e64394a95dc13b6f233898"><h4 class="sectiontitle">Function</h4><p id="swr_02_0027__a7005bd3228d34f8ea0fb7b75b17cfbb2">Delete an organization.</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0027__s476df674307e4b04b9545f9575dde042"><h4 class="sectiontitle">URI</h4><p id="swr_02_0027__p49432028152519">DELETE /v2/manage/namespaces/{<em id="swr_02_0027__i153284455313">namespace</em>}</p>
|
|
<p id="swr_02_0027__p1160013561311">For details about parameters, see <a href="#swr_02_0027__tae82a09e27434bef9a38b734d798ae6c">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="swr_02_0027__tae82a09e27434bef9a38b734d798ae6c"></a><a name="tae82a09e27434bef9a38b734d798ae6c"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0027__tae82a09e27434bef9a38b734d798ae6c" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="swr_02_0027__r2c22eba22439445680961f8c447f8756"><th align="left" class="cellrowborder" valign="top" width="18.44815518448155%" id="mcps1.3.2.4.2.5.1.1"><p id="swr_02_0027__a4276374f4f884a1a8ff6eabdab4da030">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.838916108389162%" id="mcps1.3.2.4.2.5.1.2"><p id="swr_02_0027__p537522204217">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.098790120987902%" id="mcps1.3.2.4.2.5.1.3"><p id="swr_02_0027__p2011016570315">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.614138586141394%" id="mcps1.3.2.4.2.5.1.4"><p id="swr_02_0027__en-us_topic_0060210625_p192541611508">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0027__row4140165617213"><td class="cellrowborder" valign="top" width="18.44815518448155%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0027__p520212400161">namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.838916108389162%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0027__p20379152154213">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.098790120987902%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0027__p15117857734">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.614138586141394%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0027__p219804051612">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_0027__section146153413329"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0027__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0027__row2481434183212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="swr_02_0027__p249134103215">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="swr_02_0027__p649183414328">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="swr_02_0027__p17493342327">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="swr_02_0027__p145053463217">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0027__row15488346321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="swr_02_0027__p175143453212">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="swr_02_0027__p11511834123218">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="swr_02_0027__p185111346324">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="swr_02_0027__p2051123412326">Message body type (format). The value can be <strong id="swr_02_0027__b156269132910160">application/json;charset=utf-8 application/json</strong></p>
|
|
<p id="swr_02_0027__p175263413325">The default value is <strong id="swr_02_0027__b175211344324">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0027__row18481934193216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="swr_02_0027__p15253413323">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="swr_02_0027__p0531341327">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="swr_02_0027__p105314346329">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="swr_02_0027__p1254203433220">User token.</p>
|
|
<p id="swr_02_0027__p145453473212">The token can be obtained by calling the IAM API used to obtain a user token. The value of <strong id="swr_02_0027__b136195514114">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0027__sab9be5ce850743859bb238e072f8d1f2"><h4 class="sectiontitle">Response</h4><p id="swr_02_0027__p167781213124115">N/A</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0027__s336c1dbc7af446a1b3cc077ea3f82fc9"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0027__t33d02fa79e8443868a71c99f411610a5" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0027__r9eb80d64e8f34d0db940daa95fc929dd"><th align="left" class="cellrowborder" valign="top" width="16.439999999999998%" id="mcps1.3.5.2.1.3.1.1"><p id="swr_02_0027__a7e51ed73a71e4dc29d0dd4aae3016632">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83.56%" id="mcps1.3.5.2.1.3.1.2"><p id="swr_02_0027__aa802d02e21c944f1863435a0d11c7ec1">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0027__r1cc0192c651444db882dde750b14be23"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0027__a6a3639a3cb154e17b95c5076c8036471">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.56%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0027__ad54ae639e7f94380a87bfc10cc91a4f0">Deleted successfully.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0027__r0bd68000afe546dd9c7a8d3a05991a04"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0027__ad46ccdc6b7e04df3b6b5679f7606f434">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.56%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0027__a1f2e8d58145d461781428d28f07a5351">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0027__row059261364320"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0027__p059261310438">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.56%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0027__p759261314433">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0027__row121541746162419"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0027__p2155846172416">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.56%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0027__p151551946202416">The organization does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0027__r19bdef782c164c93917f897241e521f8"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0027__a7da68e311c0f4267bacf3cbdb71d1ead">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.56%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0027__aa6fd12cedd8841e29eeeca27c1bdea1a">Internal 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_0000001420846090.html">Organization Management</a></div>
|
|
</div>
|
|
</div>
|
|
|