Files
doc-exports/docs/swr/api-ref/swr_02_0071.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

132 lines
12 KiB
HTML

<a name="swr_02_0071"></a><a name="swr_02_0071"></a>
<h1 class="topictitle1">Deleting an Account from the Sharing List</h1>
<div id="body8662426"><div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section630181217495"><h4 class="sectiontitle">Description</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p153011254919">Delete an account from the sharing list.</p>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section730111213495"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p183151214495">None</p>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section33117124493"><h4 class="sectiontitle">URI</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p133131214496">DELETE /v2/manage/namespaces/{namespace}/repositories/{repository}/access-domains/{access_domain}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__en-us_topic_0000001186074266_table153210126499" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="swr_02_0071__en-us_topic_0000001186074266_row6321512164910"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0071__en-us_topic_0000001186074266_p63381212494">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_0071__en-us_topic_0000001186074266_p93381218492">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_0071__en-us_topic_0000001186074266_p1433171254914">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_0071__en-us_topic_0000001186074266_p16337122492">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0071__en-us_topic_0000001186074266_row532131212499"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p533612164911">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p1533171211499">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0071__en-us_topic_0000001186074266_p634181214497">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0071__en-us_topic_0000001186074266_p0341612184910">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>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row632201224919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p13410126498">repository</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p1934181224915">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0071__en-us_topic_0000001186074266_p134171284916">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0071__en-us_topic_0000001186074266_p1833713588245">Image repository name. Enter 1 to 128 characters. It must start and end with a lowercase letter or digit. Only lowercase letters, digits, periods (.), slashes (/), underscores (_), and hyphens (-) are allowed. Periods, slashes, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed. Replace a slash (/) with a dollar sign ($) before you send the request.</p>
</td>
</tr>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row193210128490"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p15349128492">access_domain</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p33618129497">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0071__en-us_topic_0000001186074266_p10391712144918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0071__en-us_topic_0000001186074266_p143901216497">Shared tenant name.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section12393122494"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__en-us_topic_0000001186074266_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0071__en-us_topic_0000001186074266_row17401012174917"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0071__en-us_topic_0000001186074266_p14405126495">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_0071__en-us_topic_0000001186074266_p1411912174919">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_0071__en-us_topic_0000001186074266_p541131219490">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_0071__en-us_topic_0000001186074266_p10411812134913">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0071__en-us_topic_0000001186074266_row20406129493"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p241201264910">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p194213124499">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0071__en-us_topic_0000001186074266_p342101274915">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0071__en-us_topic_0000001186074266_p8421312184919">Message body type (format). The value can be <strong id="swr_02_0071__en-us_topic_0000001186074266_b680155215592">application/json</strong> or <strong id="swr_02_0071__en-us_topic_0000001186074266_b1681105212590">charset=utf-8 application/json</strong>.</p>
<p id="swr_02_0071__en-us_topic_0000001186074266_p442171219494">Default value: <strong id="swr_02_0071__en-us_topic_0000001186074266_b18603555185913">application/json</strong></p>
</td>
</tr>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row16401012184910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p743412114913">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_0071__en-us_topic_0000001186074266_p54391234910">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0071__en-us_topic_0000001186074266_p18431124491">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0071__en-us_topic_0000001186074266_p1743161224913">User token.</p>
<p id="swr_02_0071__en-us_topic_0000001186074266_p14431912174913">The token can be obtained by calling the IAM API used to obtain a user token. The value of <strong id="swr_02_0071__en-us_topic_0000001186074266_b201745534011859">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_0071__en-us_topic_0000001186074266_section944912114910"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p1644181244919">None</p>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section1744111234916"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0071__en-us_topic_0000001186074266_screen944171234911">DELETE https://{endpoint}/v2/manage/namespaces/{namespace}/repositories/{repository}/access-domains/{access_domain}</pre>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section1845212124915"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p745612144912">None</p>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section94571220499"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0071__en-us_topic_0000001186074266_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0071__en-us_topic_0000001186074266_row251712154919"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0071__en-us_topic_0000001186074266_p165313127496">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_0071__en-us_topic_0000001186074266_p1533128492">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0071__en-us_topic_0000001186074266_row95251210495"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p95351212492">204</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p1253181218494">Deletion succeeded.</p>
</td>
</tr>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row35271264919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p653912124915">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p45491212491">Request error.</p>
</td>
</tr>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row1552171216492"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p35471234916">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p0541612164910">Authentication failed.</p>
</td>
</tr>
<tr id="swr_02_0071__en-us_topic_0000001186074266_row145261244919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0071__en-us_topic_0000001186074266_p185415124492">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0071__en-us_topic_0000001186074266_p954101213494">Internal error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0071__en-us_topic_0000001186074266_section1854131294916"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0071__en-us_topic_0000001186074266_p155161215498">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_0088.html">Shared Account Management</a></div>
</div>
</div>