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>
129 lines
9.9 KiB
HTML
129 lines
9.9 KiB
HTML
<a name="swr_02_0071"></a><a name="swr_02_0071"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an Account Used for Image Sharing</h1>
|
|
<div id="body1536217343734"><div class="section" id="swr_02_0071__se03aae4436e64394a95dc13b6f233898"><h4 class="sectiontitle">Function</h4><p id="swr_02_0071__a7005bd3228d34f8ea0fb7b75b17cfbb2">Delete an account used for image sharing.</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0071__s476df674307e4b04b9545f9575dde042"><h4 class="sectiontitle">URI</h4><p id="swr_02_0071__p3537273892216">DELETE /v2/manage/namespaces/{<em id="swr_02_0071__i1279874312263">namespace</em>}/repositories/{<em id="swr_02_0071__i1547048172616">repository</em>}/access-domains/{<em id="swr_02_0071__i5668115192610">access_domain</em>}</p>
|
|
<p id="swr_02_0071__p12231135015209">For details about parameters, see <a href="#swr_02_0071__table11843162810214">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="swr_02_0071__table11843162810214"></a><a name="table11843162810214"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__table11843162810214" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="swr_02_0071__row20843172818213"><th align="left" class="cellrowborder" valign="top" width="17.61%" id="mcps1.3.2.4.2.5.1.1"><p id="swr_02_0071__p3843528621">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.13%" id="mcps1.3.2.4.2.5.1.2"><p id="swr_02_0071__p198988313226">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.17%" id="mcps1.3.2.4.2.5.1.3"><p id="swr_02_0071__p128986316221">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51.09%" id="mcps1.3.2.4.2.5.1.4"><p id="swr_02_0071__p1584342811211">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0071__row1084316281925"><td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0071__p6843228526">namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.13%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0071__p10898431122213">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.17%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0071__p289883118229">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.09%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0071__p85037015469">Organization name. An organization name contains 1 to 64 characters. It must start with a lowercase letter and end 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>
|
|
<tr id="swr_02_0071__row1319321944420"><td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0071__p919315194441">repository</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.13%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0071__p98981331172211">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.17%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0071__p1189833112228">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.09%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0071__p13193201924411">Image repository name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0071__row169349264113"><td class="cellrowborder" valign="top" width="17.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0071__p11934726191114">access_domain</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.13%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0071__p94144342224">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.17%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0071__p46813432228">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51.09%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0071__p17934626131118">Name of the account used for image sharing.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0071__s8246d3afdd6f44dc817ce0c3f2ac7d53"><h4 class="sectiontitle">Request</h4><ul id="swr_02_0071__ul786045812157"><li id="swr_02_0071__li9860155851512">Request parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0071__row5280763191"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="swr_02_0071__p1628319611194">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="swr_02_0071__p728517661910">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="swr_02_0071__p1628919613199">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="swr_02_0071__p13291164199">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0071__row162801568195"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="swr_02_0071__p7292868197">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="swr_02_0071__p1729416620191">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="swr_02_0071__p429536181920">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="swr_02_0071__p162971460198">Message body type (format). The value can be <strong id="swr_02_0071__b413348037142">application/json</strong> or <strong id="swr_02_0071__b9163705657142">charset=utf-8 application/json</strong>.</p>
|
|
<p id="swr_02_0071__p172981564195">The default value is <strong id="swr_02_0071__b15195991037148">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0071__row11280106181912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="swr_02_0071__p202998621918">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="swr_02_0071__p103011566191">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="swr_02_0071__p93021562191">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="swr_02_0071__p10305166101913">User token.</p>
|
|
<p id="swr_02_0071__p193061163195">The token can be obtained by calling an IAM API. The value of <strong id="swr_02_0071__b150031472671419">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="swr_02_0071__li1995911021610">Example request<pre class="screen" id="swr_02_0071__screen1169014233168">DELETE https://{Endpoint}/v2/manage/namespaces/<em id="swr_02_0071__i151530582189">group</em>/repositories/<em id="swr_02_0071__i18560216191910">busybox</em>/access-domains/<em id="swr_02_0071__i4768105813196">domain_name</em></pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="swr_02_0071__sab9be5ce850743859bb238e072f8d1f2"><h4 class="sectiontitle">Response</h4><p id="swr_02_0071__p51877109437">N/A</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0071__s336c1dbc7af446a1b3cc077ea3f82fc9"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__t33d02fa79e8443868a71c99f411610a5" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0071__r9eb80d64e8f34d0db940daa95fc929dd"><th align="left" class="cellrowborder" valign="top" width="16.439999999999998%" id="mcps1.3.5.2.1.3.1.1"><p id="swr_02_0071__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_0071__aa802d02e21c944f1863435a0d11c7ec1">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0071__r1cc0192c651444db882dde750b14be23"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0071__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_0071__p14504142233912">Deleted successfully.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0071__r0bd68000afe546dd9c7a8d3a05991a04"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0071__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_0071__a1f2e8d58145d461781428d28f07a5351">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0071__row059261364320"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0071__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_0071__p759261314433">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0071__r19bdef782c164c93917f897241e521f8"><td class="cellrowborder" valign="top" width="16.439999999999998%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0071__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_0071__aa6fd12cedd8841e29eeeca27c1bdea1a">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0071__section134071631161117"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0071__p15408431161114">For details, see <a href="swr_02_0024.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001470804877.html">Shared Account Management</a></div>
|
|
</div>
|
|
</div>
|
|
|